[macOS] Restore demo library output names.
This commit is contained in:
@@ -16,6 +16,9 @@ env = SConscript("../SConstruct")
|
||||
env.Append(CPPPATH=["src/"])
|
||||
sources = Glob("src/*.cpp")
|
||||
|
||||
library = env.SharedLibrary("demo/bin/libgdexample" + env["SHLIBSUFFIX"], source=sources)
|
||||
if env["platform"] == "osx":
|
||||
library = env.SharedLibrary("demo/bin/libgdexample.{}.{}.framework/libgdexample.{}.{}".format(env["platform"], env["target"], env["platform"], env["target"]), source=sources)
|
||||
else:
|
||||
library = env.SharedLibrary("demo/bin/libgdexample.{}.{}.{}{}".format(env["platform"], env["target"], env["arch_suffix"], env["SHLIBSUFFIX"]), source=sources)
|
||||
|
||||
Default(library)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>libgdexample.debug</string>
|
||||
<string>libgdexample.osx.debug</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
@@ -9,7 +9,7 @@
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>libgdexample.release</string>
|
||||
<string>libgdexample.osx.release</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
@@ -8,5 +8,5 @@ linux.64.debug = "bin/libgdexample.linux.debug.64.so"
|
||||
linux.64.release = "bin/libgdexample.linux.release.64.so"
|
||||
windows.64.debug = "bin/libgdexample.windows.debug.64.dll"
|
||||
windows.64.release = "bin/libgdexample.windows.release.64.dll"
|
||||
macos.debug = "bin/libgdexample.debug.framework"
|
||||
macos.release = "bin/libgdexample.release.framework"
|
||||
macos.debug = "bin/libgdexample.osx.debug.framework"
|
||||
macos.release = "bin/libgdexample.osx.release.framework"
|
||||
|
||||
Reference in New Issue
Block a user