Merge pull request #843 from AndyAyersMS/JitTesting
[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     -DFEATURE_MERGE_JIT_AND_ENGINE
8     -DSELF_NO_HOST)
9
10 remove_definitions(
11     -DEnC_SUPPORTED
12     -DFEATURE_EVENT_TRACE=1
13     -DFEATURE_LOADER_OPTIMIZATION
14     -DFEATURE_MULTICOREJIT
15     -DFEATURE_PERFMAP
16     -DFEATURE_RANDOMIZED_STRING_HASHING
17     -DFEATURE_VERSIONING_LOG
18 )
19
20 if(WIN32)
21     add_definitions(-MT)
22 endif(WIN32)