diff --git a/CMakeLists.txt b/CMakeLists.txt index 61cb4648..e137fa03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,10 +17,6 @@ cmake_minimum_required (VERSION 3.4) project (synergy C CXX) -option (SYNERGY_BUILD_LEGACY_GUI "Build the legacy GUI" ON) -option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON) -option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the legacy installer" ON) - set (CMAKE_CXX_STANDARD 14) set (CMAKE_CXX_EXTENSIONS OFF) set (CMAKE_CXX_STANDARD_REQUIRED ON) @@ -337,42 +333,4 @@ macro (configure_files srcDir destDir) endforeach (templateFile) endmacro (configure_files) -if (${SYNERGY_BUILD_LEGACY_INSTALLER}) -# -# macOS app Bundle -# -if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - set (CMAKE_INSTALL_RPATH "@loader_path/../Libraries;@loader_path/../Frameworks") - set (SYNERGY_BUNDLE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dist/macos/bundle) - set (SYNERGY_BUNDLE_DIR ${CMAKE_BINARY_DIR}/bundle) - set (SYNERGY_BUNDLE_APP_DIR ${SYNERGY_BUNDLE_DIR}/Synergy.app) - set (SYNERGY_BUNDLE_BINARY_DIR ${SYNERGY_BUNDLE_APP_DIR}/Contents/MacOS) - - configure_files (${SYNERGY_BUNDLE_SOURCE_DIR} ${SYNERGY_BUNDLE_DIR}) -endif() - -# -# Windows installer -# -if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") - message (STATUS "Configuring the v1 installer") - configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/wix ${CMAKE_BINARY_DIR}/installer) -endif() - -# -# Linux installation -# -if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") - configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm) - install(FILES res/synergy.svg DESTINATION share/icons/hicolor/scalable/apps) - if("${VERSION_MAJOR}" STREQUAL "2") - install(FILES res/synergy2.desktop DESTINATION share/applications) - else() - install(FILES res/synergy.desktop DESTINATION share/applications) - endif() -endif() - -else() - message (STATUS "NOT configuring the v1 installer") -endif() add_subdirectory (src) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d36312f8..929f8a13 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -19,4 +19,3 @@ include_directories (${CMAKE_CURRENT_BINARY_DIR}/lib) add_subdirectory(lib) add_subdirectory(cmd) - diff --git a/src/cmd/CMakeLists.txt b/src/cmd/CMakeLists.txt index 9fbd7075..f9defd3e 100644 --- a/src/cmd/CMakeLists.txt +++ b/src/cmd/CMakeLists.txt @@ -16,9 +16,3 @@ add_subdirectory(synergyc) add_subdirectory(synergys) -add_subdirectory(syntool) - -if (SYNERGY_BUILD_LEGACY_SERVICE) - add_subdirectory(synergyd) -endif (SYNERGY_BUILD_LEGACY_SERVICE) -