a1f7c949708165a3f1fdea22e0af0c28334a01fd
[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 )
11
12 if(NOT CLR_CMAKE_PLATFORM_LINUX AND NOT FEATURE_CROSSBITNESS)
13     list (APPEND CLR_CROSS_COMPONENTS_LIST
14         mscordaccore
15         mscordbi
16         sos
17     )
18 endif()