|
@@ -447,12 +447,22 @@ else()
|
|
|
endif(SIMULATE_ON)#end simulate
|
|
|
|
|
|
add_subdirectory(ThirdParty)
|
|
|
-add_subdirectory(Other)
|
|
|
-add_subdirectory(Module)
|
|
|
-add_subdirectory(Tool)
|
|
|
+if(BUILD_MODULE)
|
|
|
+ add_subdirectory(Other)
|
|
|
+ add_subdirectory(Module)
|
|
|
+else()
|
|
|
+ message(WARNING "skipping Other and Module directories.")
|
|
|
+endif(BUILD_MODULE)
|
|
|
+if(BUILD_TOOLS)
|
|
|
+ add_subdirectory(Tool)
|
|
|
+else()
|
|
|
+ message(WARNING "skipping Tool directory.")
|
|
|
+endif(BUILD_TOOLS)
|
|
|
add_subdirectory(Plugins)
|
|
|
if(BUILD_DEVADAPTER)
|
|
|
add_subdirectory(DevAdapter)
|
|
|
+else()
|
|
|
+ message(WARNING "skipping DevAdapter directory.")
|
|
|
endif(BUILD_DEVADAPTER)
|
|
|
|
|
|
set(CMAKE_INSTALL_LOCAL_ONLY ON)
|