summaryrefslogtreecommitdiffstats
blob: 69e755a4ad92a27ff8361dc19bce68c3cb72324b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Import("swiften_env")

sources = [
		"Application.cpp",
		"ApplicationMessageDisplay.cpp",
		"ApplicationPathProvider.cpp",
	]

if swiften_env["PLATFORM"] == "darwin" and swiften_env["target"] == "native" :
	sources += [
			"MacOSX/MacOSXApplication.cpp",
			"MacOSX/MacOSXApplicationMessageDisplay.mm",
			"MacOSX/MacOSXApplicationInitializer.mm",
			"MacOSX/MacOSXApplicationPathProvider.cpp",
		]
elif swiften_env["PLATFORM"] == "win32" :
	sources += [
			"WindowsApplicationPathProvider.cpp"
		]

objects = swiften_env.StaticObject(sources)
swiften_env.Append(SWIFTEN_OBJECTS = [objects])