Rename OSX to macOS.

This commit is contained in:
bruvzg
2022-07-20 11:01:47 +03:00
parent 8772a7faca
commit 0ee980abae
12 changed files with 31 additions and 38 deletions

View File

@@ -9,7 +9,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(TARGET_PATH win64)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(TARGET_PATH osx)
set(TARGET_PATH macos)
else()
message(FATAL_ERROR "Not implemented support for ${CMAKE_SYSTEM_NAME}")
endif()

View File

@@ -16,7 +16,7 @@ env = SConscript("../SConstruct")
env.Append(CPPPATH=["src/"])
sources = Glob("src/*.cpp")
if env["platform"] == "osx":
if env["platform"] == "macos":
library = env.SharedLibrary(
"demo/bin/libgdexample.{}.{}.framework/libgdexample.{}.{}".format(
env["platform"], env["target"], env["platform"], env["target"]

View File

@@ -4,8 +4,8 @@ entry_symbol = "example_library_init"
[libraries]
macos.debug = "bin/libgdexample.osx.debug.framework"
macos.release = "bin/libgdexample.osx.release.framework"
macos.debug = "bin/libgdexample.macos.debug.framework"
macos.release = "bin/libgdexample.macos.release.framework"
windows.debug.x86_32 = "bin/libgdexample.windows.debug.x86_32.dll"
windows.release.x86_32 = "bin/libgdexample.windows.release.x86_32.dll"
windows.debug.x86_64 = "bin/libgdexample.windows.debug.x86_64.dll"