summaryrefslogtreecommitdiff
path: root/crosscomponents.cmake
blob: a1f7c949708165a3f1fdea22e0af0c28334a01fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
add_definitions(-DCROSS_COMPILE)

if(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)
    set(FEATURE_CROSSBITNESS 1)
endif(CLR_CMAKE_PLATFORM_ARCH_AMD64 AND CLR_CMAKE_TARGET_ARCH_ARM)

set (CLR_CROSS_COMPONENTS_LIST
    crossgen   
    clrjit
)

if(NOT CLR_CMAKE_PLATFORM_LINUX AND NOT FEATURE_CROSSBITNESS)
    list (APPEND CLR_CROSS_COMPONENTS_LIST
        mscordaccore
        mscordbi
        sos
    )
endif()