diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2af26a0..2a876f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ cmake_minimum_required( VERSION 2.8 ) ##### general package setup ##################### project( tdedocker ) +set( VERSION R14.1.0 ) ##### include essential cmake modules ########### @@ -43,12 +44,15 @@ tde_setup_paths( ) ##### optional stuff ############################ +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) option( WITH_TRACING "Enable code tracing" OFF ) ##### user requested modules #################### -option( BUILD_ALL "Build all" OFF ) +option( BUILD_ALL "Build all" ON ) +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) @@ -66,13 +70,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source directories ######################## -add_subdirectory( src ) add_subdirectory( icons ) +add_subdirectory( src ) +tde_conditional_add_subdirectory( BUILD_DOC man ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) ##### other data ################################ INSTALL(FILES tdedocker.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) - - |