Build unified core or separate server and client (#7274)

* Only build unified core when specified

* Update changelog
This commit is contained in:
Kyle Bloom 2023-08-07 09:45:27 +01:00 committed by GitHub
parent 947efd5e58
commit 3d621c6ee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View file

@ -32,6 +32,12 @@ else()
option (ENABLE_COVERAGE "Build with coverage")
endif()
if (DEFINED ENV{SYNERGY_UNIFIED_CORE})
option (UNIFIED_CORE "Build a single core binary" ON)
else()
option (UNIFIED_CORE "Build a single core binary" OFF)
endif()
if ($ENV{SYNERGY_ENTERPRISE})
option (SYNERGY_ENTERPRISE "Build Enterprise" ON)
else()

View file

@ -9,6 +9,7 @@ Enhancements:
- #7254 Ability to bind client to a network interface
- #7263 Change name of Flatpak uploaded to snapshots
- #7269 Reword file drag drop error to debug message
- #7274 Only build necessary binaries
1.14.6
======

View file

@ -15,7 +15,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
add_subdirectory(synergyd)
add_subdirectory(synergyc)
add_subdirectory(synergys)
if (UNIFIED_CORE)
add_subdirectory(synergy-core)
else()
add_subdirectory(synergyc)
add_subdirectory(synergys)
endif (UNIFIED_CORE)
add_subdirectory(syntool)
add_subdirectory(synergy-core)