Add SIMU_TARGET build option to exclude libsimulator & simu from all/install.

This commit is contained in:
Max Paperno
2018-07-09 11:53:38 -04:00
parent f60d3b80be
commit d507dbb5dd
2 changed files with 11 additions and 2 deletions
+7
View File
@@ -1,3 +1,10 @@
option(SIMU_TARGET "Configure libsimulator/simu targets (can be turned off for compiling Companion only)" ON)
if(NOT SIMU_TARGET)
message(STATUS "libsimulator/simu targets disabled")
return()
endif()
foreach(FILE ${SRC})
set(SIMU_SRC ${SIMU_SRC} ../../${FILE})
endforeach()