Commits

jaripenu  committed 69c2d32

Fixed examples.pro to build only appropriate subprojects

  • Participants
  • Parent commits be2bb53

Comments (0)

Files changed (1)

File examples/examples.pro

 ######################################################################
 
 TEMPLATE = subdirs
-SUBDIRS += berkeley ircpeer qxtflowview zeroconf web jsonrpcclient # country
-!macx: SUBDIRS += displaysettings
+
+contains(DEFINES,HAVE_DB):contains(QXT_MODULES, berkeley):SUBDIRS += berkeley
+contains(QXT_MODULES, gui) {
+    !macx:SUBDIRS += displaysettings
+    SUBDIRS += qxtflowview
+}
+contains(QXT_MODULES, network):SUBDIRS += ircpeer jsonrpcclient
+contains(QXT_MODULES, web):SUBDIRS += web
+contains(DEFINES,HAVE_ZEROCONF):contains(QXT_MODULES, zeroconf):SUBDIRS += zeroconf