summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/SConscript')
-rw-r--r--Swift/Controllers/SConscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/Swift/Controllers/SConscript b/Swift/Controllers/SConscript
new file mode 100644
index 0000000..ac06e9a
--- /dev/null
+++ b/Swift/Controllers/SConscript
@@ -0,0 +1,26 @@
+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"
+ ])
+
+env.Append(UNITTEST_SOURCES = [
+ File("UnitTest/NickResolverTest.cpp"),
+ File("UnitTest/XMPPRosterControllerTest.cpp")
+ ])