Set vtable offset as contained
[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     -DFEATURE_PREJIT
5     -DCROSSGEN_COMPILE
6     -DCROSS_COMPILE
7     -DFEATURE_NATIVE_IMAGE_GENERATION
8     -DSELF_NO_HOST)
9
10 remove_definitions(
11     -DFEATURE_CODE_VERSIONING
12     -DEnC_SUPPORTED
13     -DFEATURE_EVENT_TRACE
14     -DFEATURE_INTERPRETER
15     -DFEATURE_MULTICOREJIT
16     -DFEATURE_PERFMAP
17     -DFEATURE_REJIT
18     -DFEATURE_TIERED_COMPILATION
19     -DFEATURE_VERSIONING_LOG
20     -DFEATURE_PROFAPI_ATTACH_DETACH
21 )
22
23 if(FEATURE_READYTORUN)
24     add_definitions(-DFEATURE_READYTORUN_COMPILER)
25 endif(FEATURE_READYTORUN)
26
27 if(CLR_CMAKE_PLATFORM_LINUX)
28     add_definitions(-DFEATURE_PERFMAP)
29 endif(CLR_CMAKE_PLATFORM_LINUX)