summaryrefslogtreecommitdiffstats
blob: e87312cdf43801f210c168cd5caccf139e57759a (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" :
    sources += [
            "NotificationCenterNotifier.mm",
            "NotificationCenterNotifierDelegate.mm",
        ]

objects = myenv.StaticObject(sources)
swiftools_env.Append(SWIFTOOLS_OBJECTS = objects)