summaryrefslogtreecommitdiffstats
blob: 6bd742bd6ebd5772d797232e55fc10b79fdebc27 (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
30
31
32
33
34
35
Import("env")

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

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

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