summaryrefslogtreecommitdiffstats
blob: e60937bae23a0a51549727331d002c6c0859a8d5 (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
Import("swiftools_env")

myenv = swiftools_env.Clone()

sources = [
		"Notifier.cpp",
	]

if swiftools_env.get("HAVE_GROWL", False) :
	sources += [
			"GrowlNotifier.mm",
			"GrowlNotifierDelegate.mm",
		]
elif myenv["PLATFORM"] == "darwin" :
	sources += [
			"NotificationCenterNotifier.mm",
			"NotificationCenterNotifierDelegate.mm",
		]

if swiftools_env.get("HAVE_SNARL", False) :
	myenv.MergeFlags(myenv["SNARL_FLAGS"])
	sources += [
			"SnarlNotifier.cpp",
		]
		
objects = myenv.StaticObject(sources)
swiftools_env.Append(SWIFTOOLS_OBJECTS = objects)