[Tizen] Partially revert a6292a6.
[platform/upstream/coreclr.git] / crossgen.cmake
index 34dc3ae..6f416bf 100644 (file)
@@ -1,21 +1,29 @@
 # Contains the crossgen build specific definitions. Included by the leaf crossgen cmake files.
 
 add_definitions(
+    -DFEATURE_PREJIT
     -DCROSSGEN_COMPILE
     -DCROSS_COMPILE
     -DFEATURE_NATIVE_IMAGE_GENERATION
     -DSELF_NO_HOST)
 
 remove_definitions(
+    -DFEATURE_CODE_VERSIONING
     -DEnC_SUPPORTED
-    -DFEATURE_EVENT_TRACE=1
-    -DFEATURE_LOADER_OPTIMIZATION
+    -DFEATURE_EVENT_TRACE
+    -DFEATURE_INTERPRETER
     -DFEATURE_MULTICOREJIT
-    -DFEATURE_RANDOMIZED_STRING_HASHING
+    -DFEATURE_PERFMAP
+    -DFEATURE_REJIT
+    -DFEATURE_TIERED_COMPILATION
     -DFEATURE_VERSIONING_LOG
+    -DFEATURE_PROFAPI_ATTACH_DETACH
 )
 
-if(WIN32)
-    add_definitions(-MT)
+if(FEATURE_READYTORUN)
     add_definitions(-DFEATURE_READYTORUN_COMPILER)
-endif(WIN32)
+endif(FEATURE_READYTORUN)
+
+if(CLR_CMAKE_PLATFORM_LINUX)
+    add_definitions(-DFEATURE_PERFMAP)
+endif(CLR_CMAKE_PLATFORM_LINUX)