From 639f34ef2efdec6ff0d1f47d919ca070d027fb80 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 11 Jan 2012 16:26:17 -0600 Subject: Add WITH_ALL_OPTIONS to CMake --- CMakeLists.txt | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'CMakeLists.txt') 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 ) -- cgit v1.2.1