blob: b3c811529b47fe9df8dce11d73d30d8000b5f990 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | 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" and myenv["target"] == "native" :
    sources += [
            "NotificationCenterNotifier.mm",
            "NotificationCenterNotifierDelegate.mm",
        ]
objects = myenv.StaticObject(sources)
swiftools_env.Append(SWIFTOOLS_OBJECTS = objects)
 |