diff options
Diffstat (limited to 'Slimber/SConscript')
-rw-r--r-- | Slimber/SConscript | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Slimber/SConscript b/Slimber/SConscript new file mode 100644 index 0000000..504aa1b --- /dev/null +++ b/Slimber/SConscript @@ -0,0 +1,28 @@ +Import("env") + +env["SLIMBER_FLAGS"] = { + "LIBPATH": [Dir(".")], + "LIBS": ["Slimber"] + } + +myenv = env.Clone() +myenv.MergeFlags(env["BOOST_FLAGS"]) +myenv.MergeFlags(env["SWIFTEN_FLAGS"]) +myenv.StaticLibrary("Slimber", [ + "LinkLocalPresenceManager.cpp", + "FileVCardCollection.cpp", + "VCardCollection.cpp", + "Server.cpp", + "MainController.cpp", + "MenuletController.cpp", + "Menulet.cpp" + ]) + +env.Append(UNITTEST_SOURCES = [ + File("UnitTest/LinkLocalPresenceManagerTest.cpp"), + File("UnitTest/MenuletControllerTest.cpp") + ]) + +SConscript("CLI/SConscript") +if env["PLATFORM"] == "darwin" : + SConscript("Cocoa/SConscript") |