diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-12 17:59:10 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-12 17:59:10 (GMT) |
commit | 283a6801fd11aeaf38b2298399c2bf622f743cf4 (patch) | |
tree | a63e3401309793844c29b08512d7a9dc12636fb3 /Slimber/SConscript | |
parent | 2a28c1be20477ddf25a233ee34c991951295058b (diff) | |
download | swift-contrib-283a6801fd11aeaf38b2298399c2bf622f743cf4.zip swift-contrib-283a6801fd11aeaf38b2298399c2bf622f743cf4.tar.bz2 |
Added Slimber & valgrind testing to SCons.
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") |