[Kde-pim] KDE/kdepim

Christophe Giboudeaux cgiboudeaux at gmail.com
Sun Dec 13 17:58:00 GMT 2009


SVN commit 1062071 by cgiboudeaux:

Add a new option KDEPIM_BUILD_EXAMPLES. default = disabled.
This way, the kdepim example apps will not be packaged.

CCMAIL: kde-pim at kde.org



 M  +6 -1      CMakeLists.txt  


--- trunk/KDE/kdepim/CMakeLists.txt #1062070:1062071
@@ -6,6 +6,7 @@
 
 ############### Build Options ###############
 
+option(KDEPIM_BUILD_EXAMPLES "Build the kdepim example applications." FALSE)
 option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
 option(KDEPIM_ONLY_KLEO "Only build Kleopatra. This option will disable KDEPIM_BUILD_EVERYTHING and KDEPIM_ENTERPRISE_BUILD." FALSE)
 # if KDEPIM_ENTERPRISE_BUILD is defined, KDEPIM_ONLY_KLEO is disabled
@@ -188,7 +189,11 @@
     # The following components depend on QGpgME.
     add_subdirectory(messageviewer)
     macro_optional_add_subdirectory(kmail)
-    macro_optional_add_subdirectory(examples)
+
+    if(KDEPIM_BUILD_EXAMPLES)
+      add_subdirectory(examples)
+    endif(KDEPIM_BUILD_EXAMPLES)
+
     # If kmail is compiled, KMAIL_SUPPORTED is true (used in several places)
     if(BUILD_kmail)
       set(KMAIL_SUPPORTED TRUE)
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list