Allow skip building old GUI

This commit is contained in:
Jerry (Xinyu Hou) 2017-05-04 20:10:06 +01:00
parent 165bfa3dd6
commit 58eb7952a6
2 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@
cmake_minimum_required (VERSION 3.4)
project (synergy C CXX)
option (SYNERGY_BUILD_LEGACY_GUI "Build the legacy GUI (synergy)" ON)
option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON)
option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the installer" ON)

View File

@ -19,4 +19,6 @@ include_directories (${CMAKE_CURRENT_BINARY_DIR}/lib)
add_subdirectory(lib)
add_subdirectory(cmd)
if (SYNERGY_BUILD_LEGACY_GUI)
add_subdirectory(gui)
endif (SYNERGY_BUILD_LEGACY_GUI)