* [ARM32/Linx] cross-architecture build: restrict build project list
Restrict build project for ARM32/Linux cross-architecture
We can build these projects with PR #8866 and #8917. (release build)
- crossgen
- clrjit
- protojit
* modify crosscomponents.cmake
Add list items when not Linux, instead remove in Linux
add_definitions(-DCROSS_COMPILE)
add_definitions(-DCROSS_COMPILE)
-set (CLR_CROSS_COMPONENTS_LIST
- crossgen
- mscordaccore
- mscordbi
- sos
- clrjit
- protojit
-)
+set (CLR_CROSS_COMPONENTS_LIST
+ crossgen
+ clrjit
+ protojit
+)
+
+if(NOT CLR_CMAKE_PLATFORM_LINUX)
+ list (APPEND CLR_CROSS_COMPONENTS_LIST
+ mscordaccore
+ mscordbi
+ sos
+ )
+endif()