[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kontact/plugins
From:       Allen Winter <winter () kde ! org>
Date:       2008-09-02 22:25:07
Message-ID: 1220394307.478220.15707.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 856466 by winterz:

patch from Ingmar that prevents application plugins from being built
if their associated applications are not being built.


 M  +24 -13    CMakeLists.txt  


--- trunk/KDE/kdepim/kontact/plugins/CMakeLists.txt #856465:856466
@@ -1,30 +1,41 @@
 remove_definitions(-DKDE_DEFAULT_DEBUG_AREA=5600) #remove kontact debug area
 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=5602)
 
-if(KMAIL_SUPPORTED)
+if(KMAIL_SUPPORTED AND BUILD_kaddressbook)
   add_subdirectory( kaddressbook ) 
-endif(KMAIL_SUPPORTED)
+endif(KMAIL_SUPPORTED AND BUILD_kaddressbook)
 
 if(QGPGME_FOUND)
-  if(KMAIL_SUPPORTED)
+  if(KMAIL_SUPPORTED AND BUILD_kmail)
     add_subdirectory( kmail ) 
-  endif(KMAIL_SUPPORTED)
-  add_subdirectory( korganizer )
+  endif(KMAIL_SUPPORTED AND BUILD_kmail)
+  if (BUILD_korganizer)
+	  add_subdirectory( korganizer )
+  endif (BUILD_korganizer)
   add_subdirectory( summary )
   add_subdirectory( specialdates )
 #re-enable planner for 4.2 if we have people who want to develop it
   add_subdirectory( planner )
 endif(QGPGME_FOUND)
-add_subdirectory( knotes ) 
-add_subdirectory( knode ) 
-add_subdirectory( kjots ) 
-add_subdirectory( akregator ) 
-if(KTIMETRACKER_SUPPORTED)
+if (BUILD_knotes)
+  add_subdirectory( knotes ) 
+endif (BUILD_knotes)
+if (BUILD_knode)
+  add_subdirectory( knode ) 
+endif (BUILD_knode)
+if (BUILD_kjots)
+  add_subdirectory( kjots ) 
+endif (BUILD_kjots)
+if (BUILD_akregator)
+  add_subdirectory( akregator ) 
+endif (BUILD_akregator)
+
+if(KTIMETRACKER_SUPPORTED AND BUILD_ktimetracker)
   add_subdirectory( ktimetracker ) 
-endif(KTIMETRACKER_SUPPORTED)
-if(KMOBILETOOLS_SUPPORTED)
+endif(KTIMETRACKER_SUPPORTED AND BUILD_ktimetracker)
+if(KMOBILETOOLS_SUPPORTED AND BUILD_kmobiletools)
   add_subdirectory( kmobiletools ) 
-endif(KMOBILETOOLS_SUPPORTED)
+endif(KMOBILETOOLS_SUPPORTED AND BUILD_kmobiletools)
 message(STATUS "Newsticker Summary is disabled until we can use the plasmoid")
 #add_subdirectory( newsticker ) 
 message(STATUS "Weather Summary is disabled until we can use the plasmoid")
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic