Fix hijacking for ARM/ARM64/x86 on Unix (#20042)
[platform/upstream/coreclr.git] / crosscomponents.cmake
1 add_definitions(-DCROSS_COMPILE)
2
3 if(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)
4     set(FEATURE_CROSSBITNESS 1)
5 endif(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)
6
7 set (CLR_CROSS_COMPONENTS_LIST
8     crossgen   
9     clrjit
10     legacyjit
11 )
12
13 if(NOT CLR_CMAKE_PLATFORM_LINUX AND NOT FEATURE_CROSSBITNESS)
14     list (APPEND CLR_CROSS_COMPONENTS_LIST
15         mscordaccore
16         mscordbi
17         sos
18     )
19 endif()