summaryrefslogtreecommitdiffstats
blob: 125a26456e8db853a940b0daac5a12aeb27cc745 (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
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")
else :
  SConscript("Qt/SConscript")