[ARM32/Linx] cross-architecture build: restrict build project list (#8918)
authorHyeongseok Oh <hseok82.oh@samsung.com>
Tue, 17 Jan 2017 12:41:58 +0000 (21:41 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 17 Jan 2017 12:41:58 +0000 (13:41 +0100)
* [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

crosscomponents.cmake

index 7575570..96c477e 100644 (file)
@@ -1,10 +1,15 @@
 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()