summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-03-27 00:28:44 +0900
committerMichele Calgaro <[email protected]>2020-03-27 00:28:44 +0900
commit64509425b39b988f3d9436b5c4482db8c86cf310 (patch)
treeecf3704709f2874d164737912d44e7f3607fc667 /CMakeLists.txt
parent88fbf7e81a6ab317262bd97875a0296f59287586 (diff)
downloadtdedocker-64509425b39b988f3d9436b5c4482db8c86cf310.tar.gz
tdedocker-64509425b39b988f3d9436b5c4482db8c86cf310.zip
1) Added option for gcc visibility
2) Added man page from Debian packaging repo 3) Added application icon 4) Installed xpm icons Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
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})
-
-