summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSerghei Amelian <serghei.amelian@gmail.com>2012-02-14 20:51:02 +0200
committerSerghei Amelian <serghei.amelian@gmail.com>2012-02-14 20:51:02 +0200
commit39c1afd3f898e9577981edf624e96d46777fb07e (patch)
tree6f5eb75d49c265b491d446f6eb3b9e9864c8fba9 /CMakeLists.txt
parent77041d785dbbede734f8dc44aa454d07d14f0317 (diff)
downloadtdebase-39c1afd3f898e9577981edf624e96d46777fb07e.tar.gz
tdebase-39c1afd3f898e9577981edf624e96d46777fb07e.zip
[tdebase/cmake] added BUILD_TDEINIT option
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 093626569..c10f65055 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
#################################################
#
-# (C) 2010-2011 Serghei Amelian
+# (C) 2010-2012 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
@@ -15,7 +15,7 @@ cmake_minimum_required( VERSION 2.8 )
project( tdebase )
set( PACKAGE tdebase )
-set( VERSION "3.5.13" )
+set( VERSION "R14" )
##### include essential cmake modules ###########
@@ -83,6 +83,7 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden"
##### user requested modules ####################
option( BUILD_ALL "Build all" OFF )
+option( BUILD_TDEINIT "Build tdeinit" ${BUILD_ALL} )
option( BUILD_L10N "Build l10n" ${BUILD_ALL} )
option( BUILD_PICS "Build pics" ${BUILD_ALL} )
option( BUILD_APPLNK "Build applnk" ${BUILD_ALL} )
@@ -157,8 +158,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
##### tdebase directories #######################
add_subdirectory( tdmlib )
-add_subdirectory( tdeinit )
+tde_conditional_add_subdirectory( BUILD_TDEINIT tdeinit )
tde_conditional_add_subdirectory( BUILD_L10N l10n )
tde_conditional_add_subdirectory( BUILD_PICS pics )
tde_conditional_add_subdirectory( BUILD_APPLNK applnk )