Generic Virtual calls for CoreRT
[platform/upstream/coreclr.git] / crossgen.cmake
1 # Contains the crossgen build specific definitions. Included by the leaf crossgen cmake files.
2
3 add_definitions(
4     -DCROSSGEN_COMPILE
5     -DCROSS_COMPILE
6     -DFEATURE_NATIVE_IMAGE_GENERATION
7     -DSELF_NO_HOST)
8
9 remove_definitions(
10     -DEnC_SUPPORTED
11     -DFEATURE_EVENT_TRACE=1
12     -DFEATURE_LOADER_OPTIMIZATION
13     -DFEATURE_MULTICOREJIT
14     -DFEATURE_PERFMAP
15     -DFEATURE_RANDOMIZED_STRING_HASHING
16     -DFEATURE_REJIT
17     -DFEATURE_VERSIONING_LOG
18 )
19
20 if(FEATURE_READYTORUN)
21     add_definitions(-DFEATURE_READYTORUN_COMPILER)
22 endif(FEATURE_READYTORUN)
23
24 if(CLR_CMAKE_PLATFORM_LINUX)
25     add_definitions(-DFEATURE_PERFMAP)
26 endif(CLR_CMAKE_PLATFORM_LINUX)