cmake: Add options to enable/disable client/server targets.
This commit is contained in:
parent
5a024802ca
commit
3c61b381c6
@ -163,8 +163,16 @@ if(NOT WIN32)
|
|||||||
add_subdirectory(channels)
|
add_subdirectory(channels)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(client)
|
option(ENABLE_CLIENT "Build client binaries" ON)
|
||||||
add_subdirectory(server)
|
if(ENABLE_CLIENT)
|
||||||
|
add_subdirectory(client)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
option(ENABLE_SERVER "Build server binaries" OFF)
|
||||||
|
if(ENABLE_SERVER)
|
||||||
|
add_subdirectory(server)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(keymaps)
|
add_subdirectory(keymaps)
|
||||||
|
|
||||||
# Source package
|
# Source package
|
||||||
|
Loading…
Reference in New Issue
Block a user