summaryrefslogtreecommitdiffstats
blob: 5d1c3cb8b54354848cfbc9aa8e91079184228dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Import("swiften_env")

sources = [
		"EventLoop.cpp",
		"EventOwner.cpp",
		"MainEventLoop.cpp",
		"SimpleEventLoop.cpp",
	]

if swiften_env["PLATFORM"] == "darwin" and swiften_env["target"] == "native":
	sources += [
			"Cocoa/CocoaEventLoop.mm",
			"Cocoa/CocoaEvent.mm"
		]

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