4 artisanEnv = qtEnv.Clone()
6 artisanEnv.Replace(QT4_MOCHSUFFIX = ".cpp")
7 artisanEnv.Replace(QT4_MOCHPREFIX = "#.build/artisan/moc_")
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"))