Keep ant_glob for gui app (you can add list of wildcards inside ant_glob)
diff --git a/wscript b/wscript
index fb4b75b..f24f383 100644
--- a/wscript
+++ b/wscript
@@ -84,7 +84,7 @@
use = "BOOST BOOST_FILESYSTEM SQLITE3 scheduler ccnx",
includes = "ccnx scheduler src",
)
-
+
# Unit tests
if bld.env['TEST']:
unittests = bld.program (
@@ -108,7 +108,7 @@
target = "chronoshare-gui",
features = "qt4 cxx cxxprogram",
defines = "WAF",
- source = 'gui/main.cpp gui/chronosharegui.cpp gui/images.qrc',
+ source = bld.path.ant_glob(['gui/*.cpp', 'gui/*.qrc']),
includes = "gui . ",
use = "QTCORE QTGUI"
)