summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2018-09-12 16:02:32 +0200
committergregory guy <[email protected]>2018-09-12 16:02:32 +0200
commita005308e657eb1053f7dd08f7a9ce7caad1cbee0 (patch)
tree8a74728149e6b24b333f03696af6cc87737eca9e
parent6e5f56beeb4b71f36cc2f50c8d38355d3915db87 (diff)
downloadtdeio-ftps-a005308e657eb1053f7dd08f7a9ce7caad1cbee0.tar.gz
tdeio-ftps-a005308e657eb1053f7dd08f7a9ce7caad1cbee0.zip
add 'WITH_ALL_OPTIONS' and 'BUILD_ALL' as building parameters for consistency
Signed-off-by: gregory guy <[email protected]>
-rw-r--r--CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7691d8..c3648f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,13 @@ tde_setup_paths( )
##### optional stuff
-option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" OFF )
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
+
+
+##### user requested modules
+
+option( BUILD_ALL "Build all" ON )
##### configure checks
@@ -58,7 +64,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### directories
-add_subdirectory( tdeio_ftps )
+tde_conditional_add_subdirectory( BUILD_ALL tdeio_ftps )
##### write configure files