summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SwifTools/Notifier/SConscript')
-rw-r--r--SwifTools/Notifier/SConscript24
1 files changed, 12 insertions, 12 deletions
diff --git a/SwifTools/Notifier/SConscript b/SwifTools/Notifier/SConscript
index 98b5400..b3c8115 100644
--- a/SwifTools/Notifier/SConscript
+++ b/SwifTools/Notifier/SConscript
@@ -3,19 +3,19 @@ Import("swiftools_env")
myenv = swiftools_env.Clone()
sources = [
- "Notifier.cpp",
- ]
+ "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",
- ]
-
+ 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)