summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:26:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:26:17 -0600
commit639f34ef2efdec6ff0d1f47d919ca070d027fb80 (patch)
tree1614757ccac972a6ae5551f3684e96664aba7b71
parent156eeed62e4b9a5a6c059dc658e37a368708a5a1 (diff)
downloadtdepim-639f34ef2efdec6ff0d1f47d919ca070d027fb80.tar.gz
tdepim-639f34ef2efdec6ff0d1f47d919ca070d027fb80.zip
Add WITH_ALL_OPTIONS to CMake
-rw-r--r--CMakeLists.txt33
1 files changed, 17 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 64a015734..36f6ee02a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,23 +54,24 @@ add_custom_target(install-apidox
##### optional stuff ############################
-option( WITH_ARTS "Enable aRts support" OFF )
-option( WITH_SASL "Enable cyrus-sasl support" OFF )
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_ARTS "Enable aRts support" ${WITH_ALL_OPTIONS} )
+option( WITH_SASL "Enable cyrus-sasl support" ${WITH_ALL_OPTIONS} )
option( WITH_NEWDISTRLISTS "Enable the new distribution lists" ON )
-option( WITH_GNOKII "Enable gnokii support" OFF )
-option( WITH_EXCHANGE "Enable Microsoft Exchange 2000 support" OFF )
-option( WITH_EGROUPWARE "Enable egroupware support" OFF )
-option( WITH_KOLAB "Enable kolab support" OFF )
-option( WITH_SLOX "Enable slox support" OFF )
-option( WITH_GROUPWISE "Enable groupwise support" OFF )
-option( WITH_FEATUREPLAN "Enable featureplan support" OFF )
-option( WITH_GROUPDAV "Enable groupdav support" OFF )
-option( WITH_BIRTHDAYS "Enable birthdays support" OFF )
-option( WITH_NEWEXCHANGE "Enable newexchange support" OFF )
-option( WITH_SCALIX "Enable scalix support" OFF )
-option( WITH_CALDAV "Enable caldav support" OFF )
-option( WITH_CARDDAV "Enable carddav support" OFF )
-option( WITH_INDEXLIB "Enable indexlib support (in kmail)" OFF )
+option( WITH_GNOKII "Enable gnokii support" ${WITH_ALL_OPTIONS} )
+option( WITH_EXCHANGE "Enable Microsoft Exchange 2000 support" ${WITH_ALL_OPTIONS} )
+option( WITH_EGROUPWARE "Enable egroupware support" ${WITH_ALL_OPTIONS} )
+option( WITH_KOLAB "Enable kolab support" ${WITH_ALL_OPTIONS} )
+option( WITH_SLOX "Enable slox support" ${WITH_ALL_OPTIONS} )
+option( WITH_GROUPWISE "Enable groupwise support" ${WITH_ALL_OPTIONS} )
+option( WITH_FEATUREPLAN "Enable featureplan support" ${WITH_ALL_OPTIONS} )
+option( WITH_GROUPDAV "Enable groupdav support" ${WITH_ALL_OPTIONS} )
+option( WITH_BIRTHDAYS "Enable birthdays support" ${WITH_ALL_OPTIONS} )
+option( WITH_NEWEXCHANGE "Enable newexchange support" ${WITH_ALL_OPTIONS} )
+option( WITH_SCALIX "Enable scalix support" ${WITH_ALL_OPTIONS} )
+option( WITH_CALDAV "Enable caldav support" ${WITH_ALL_OPTIONS} )
+option( WITH_CARDDAV "Enable carddav support" ${WITH_ALL_OPTIONS} )
+option( WITH_INDEXLIB "Enable indexlib support (in kmail)" ${WITH_ALL_OPTIONS} )
if( NOT WITH_ARTS )
set( WITHOUT_ARTS 1 )