blob: 7516bb9ec8b17920af6065fba15c5f9a75ac971d (
plain)
1
2
3
4
5
6
7
8
9
10
|
Import("env")
checker_env = env.Clone()
checker_env.MergeFlags(env["CPPUNIT_FLAGS"])
checker_env.Library("Checker", "checker.cpp")
env["CHECKER_FLAGS"] = {
"LIBS": ["Checker"],
"LIBPATH": [Dir(".")],
"LINKFLAGS": ["/SUBSYSTEM:CONSOLE"] if env["PLATFORM"] == "win32" else []
}
|