diff options
Diffstat (limited to 'CMakeLists.txt')
-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 |