Changed buildsystem to use pre-existing Qt4 build tool.
[aesalon.git] / visualizer / src / SConscript
blob921a52cb5bf1de0209e26eb9838facecf9aa4c78
1 import sys
2 import subprocess
4 Import("qtEnv")
6 env = qtEnv
8 env.Replace(QT4_MOCHSUFFIX = ".moc.cpp")
10 env.EnableQt4Modules(["QtCore", "QtGui", "QtNetwork"])
12 visualizerIncludePath = env.Dictionary()["includeRoot"] + "/visualizer"
14 env.Append(CPPPATH = [visualizerIncludePath])
15 env.Append(CCFLAGS = ["-W", "-Wall", "-g", "-DAesalonVisualizer"])
17 sourceFiles = Glob("[!moc]*.cpp", strings=True) + Glob("[!moc]*/*.cpp", strings=True)
19 env.Program(target = "aesalon_visualizer", source = sourceFiles)