summaryrefslogtreecommitdiffstats
blob: 6c9b04959282a49cc1304938deaacfeb454624d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Import("env")

env["SWIFT_CONTROLLERS_FLAGS"] = {
		"LIBPATH": [Dir(".")],
		"LIBS": ["SwiftControllers"]
	}

myenv = env.Clone()
myenv.MergeFlags(env["BOOST_FLAGS"])
myenv.StaticLibrary("SwiftControllers", [
		"ChatController.cpp",
		"ChatControllerBase.cpp",
		"MainController.cpp",
		"NickResolver.cpp",
		"RosterController.cpp",
		"XMPPRosterController.cpp",
		"MUCController.cpp",
		"EventController.cpp",
		"SoundEventController.cpp",
		"SystemTrayController.cpp",
		"XMLConsoleController.cpp",
		"UIEvents/UIEvent.cpp"
	])

env.Append(UNITTEST_SOURCES = [
		File("UnitTest/NickResolverTest.cpp"),
		File("UnitTest/RosterControllerTest.cpp"),
		File("UnitTest/XMPPRosterControllerTest.cpp")
	])