SVN commit 625574 by neundorf:

Added new macro MACRO_OPTIONAL_ADD_SUBDIRECTORY(dir), which might be useful 
e.g. for extragear.
If you use this instead of the normal ADD_SUBDIRECTORY(), it adds for every 
directory an 
option so you can skip this directory, and it doesn't complain if the directory 
doesn't exist.
E.g. if you want to compile just one project from the extragear or kdesupport
you can turn the other dirs off if you use this macro instead of the normal
ADD_SUBDIRECTORY()

Alex

CCMAIL: [EMAIL PROTECTED]
CCMAIL: [email protected]



 M  +1 -0      MacroLibrary.cmake  
 A             MacroOptionalAddSubdirectory.cmake  


--- trunk/KDE/kdelibs/cmake/modules/MacroLibrary.cmake #625573:625574
@@ -7,6 +7,7 @@
 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 
 INCLUDE(MacroOptionalFindPackage)
+INCLUDE(MacroOptionalAddSubdirectory)
 INCLUDE(MacroAdditionalCleanFiles)
 INCLUDE(MacroAddFileDependencies)
 INCLUDE(MacroAddCompileFlags)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to