Add SIMU_TARGET build option to exclude libsimulator & simu from all/install.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user