Merge pull request #752 from CarolEidt/PrecedenceFixes
[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_RANDOMIZED_STRING_HASHING
15     -DFEATURE_VERSIONING_LOG
16 )
17
18 if(WIN32)
19     add_definitions(-MT)
20 endif(WIN32)