1 2 3 4 5 6 7 8 9 10 11 12 13
Import("swiftools_env") sources = [ "Dock.cpp", ] if swiftools_env["PLATFORM"] == "darwin" and swiftools_env["target"] == "native" : sources += [ "MacOSXDock.mm", ] objects = swiftools_env.StaticObject(sources) swiftools_env.Append(SWIFTOOLS_OBJECTS = objects)