blob: 53bb38e58c4cb197df3f931c8d14ad8d8af15694 (
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
|
Import("swiftools_env")
myenv = swiftools_env.Clone()
sources = [
"Notifier.cpp",
]
if swiftools_env.get("HAVE_GROWL", False) :
sources += [
"GrowlNotifier.mm",
"GrowlNotifierDelegate.mm",
]
if swiftools_env.get("HAVE_SNARL", False) :
myenv.MergeFlags(myenv["SNARL_FLAGS"])
sources += [
"SnarlNotifier.cpp",
]
if swiftools_env.get("HAVE_NOTIFICATION_CENTER", False) :
sources += [
"NotificationCenterNotifier.mm",
"NotificationCenterNotifierDelegate.mm",
]
objects = myenv.StaticObject(sources)
swiftools_env.Append(SWIFTOOLS_OBJECTS = objects)
|