summaryrefslogtreecommitdiffstats
blob: 63bd924320042b166972c778f5a3d74db191e85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Import("env")

if env["TEST"] :
	if env["SCONS_STAGE"] == "flags" :
			env["CHECKER_FLAGS"] = { 
          "CPPPATH" : ["#/3rdParty/HippoMocks"],
					"LIBS": ["Checker"],
					"LIBPATH": [Dir(".")],
					"LINKFLAGS": ["/SUBSYSTEM:CONSOLE"] if env["PLATFORM"] == "win32" else []
				}

	if env["SCONS_STAGE"] == "build" :
			checker_env = env.Clone()
			checker_env.MergeFlags(env["BOOST_FLAGS"])
			checker_env.MergeFlags(env["CPPUNIT_FLAGS"])
			checker_env.Library("Checker", ["checker.cpp", "IO.cpp"])