summaryrefslogtreecommitdiffstats
blob: 504aa1bfa00dd5a9fb5e07067b17bb8a70a312d9 (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
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")