Documented GViewport a small amount, fixed a translation bug in BasicViewport.
[aesalon.git] / src / artisan / SConscript
blob7ff7ec19654d4125febf4046eb05703bc22f6fcb
1 Import("env")
2 Import("qtEnv")
4 artisanEnv = qtEnv.Clone()
6 artisanEnv.Replace(QT4_MOCHSUFFIX = ".cpp")
7 artisanEnv.Replace(QT4_MOCHPREFIX = "#.build/artisan/moc_")
9 automocPath = [
10         "#src/visualizer/",
11         "#include/visualizer/"]
13 dirType = type(Dir("."))
15 for item in Glob("#src/artisan/*") + Glob("#include/artisan/*"):
16         if type(item) == dirType:
17                 automocPath += [str(item)]
19 artisanEnv.Replace(QT4_AUTOMOC_CPPPATH = automocPath)
21 artisanEnv.EnableQt4Modules(["QtCore", "QtGui"])
23 artisan = artisanEnv.StaticLibrary(target = "aesalon-artisan", source = Glob("*.cpp") + Glob("*/*.cpp"))
24 Export("artisan")