diff --git a/CMakeLists.txt b/CMakeLists.txt index a22e74d..fcc5e07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,15 @@ endif() include_directories("${CMAKE_SOURCE_DIR}/inc") +option(ENABLE_PLUGINS "Enable plugins" ON) +option(ENABLE_SERVER "Enable server" ON) + # build plugins -add_subdirectory("${CMAKE_SOURCE_DIR}/src/graph/plugins") +if(ENABLE_PLUGINS) + add_subdirectory("${CMAKE_SOURCE_DIR}/src/graph/plugins") +endif() # build gui server -add_subdirectory("${CMAKE_SOURCE_DIR}/src/graph/server") \ No newline at end of file +if(ENABLE_SERVER) + add_subdirectory("${CMAKE_SOURCE_DIR}/src/graph/server") +endif() \ No newline at end of file