8 projectRoot = env.Dictionary()["projectRoot"] + "/"
10 env.Replace(QT4_MOCHSUFFIX = ".cpp")
11 env.Replace(QT4_MOCHPREFIX = projectRoot + "visualizer/build/moc_")
12 env.Replace(QT4_QRCCXXPREFIX = projectRoot + "visualizer/build/qrc_")
15 projectRoot + "visualizer/src/",
16 projectRoot + "include/visualizer/"]
18 dirType = type(Dir("."))
20 for item in Glob(projectRoot + "visualizer/src/*") + Glob(projectRoot + "include/visualizer/*"):
21 if type(item) == dirType:
22 automocPath += [str(item)]
24 env.Replace(QT4_AUTOMOC_CPPPATH = automocPath)
26 env.EnableQt4Modules(["QtCore", "QtGui", "QtNetwork"])
28 visualizerIncludePath = env.Dictionary()["includeRoot"] + "/visualizer"
30 env.Append(CPPPATH = [visualizerIncludePath])
31 env.Append(CCFLAGS = ["-W", "-Wall", "-g", "-DAesalonVisualizer"])
33 sourceFiles = Glob("*.cpp", strings=True) + Glob("*/*.cpp", strings=True) + Glob("*.qrc", strings=True)
35 env.Program(target = "aesalon_visualizer", source = sourceFiles)