diff options
author | gregory guy <[email protected]> | 2018-09-12 16:02:32 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2018-09-12 16:02:32 +0200 |
commit | a005308e657eb1053f7dd08f7a9ce7caad1cbee0 (patch) | |
tree | 8a74728149e6b24b333f03696af6cc87737eca9e | |
parent | 6e5f56beeb4b71f36cc2f50c8d38355d3915db87 (diff) | |
download | tdeio-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.txt | 10 |
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 |