diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-05 21:41:08 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-05 21:41:08 +1100 |
commit | d92d5231ae094ae79d95463d54275a3527cf1c2d (patch) | |
tree | ac32863eed71dd6062ca88e20ffb376e7090f1eb /xmake.lua | |
parent | 428765380da3e7fdb8122e440b5d4065620fc8fb (diff) |
get us running on Mac again with our vendored GLFW
Diffstat (limited to 'xmake.lua')
-rw-r--r-- | xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,9 @@ elseif is_plat("windows") then add_defines("CEL_PLATFORM_WINDOWS") elseif is_plat("macosx") then add_defines("CEL_PLATFORM_MAC") + add_frameworks("Cocoa", "IOKit", "CoreVideo", "OpenGL") + set_runenv("MTL_DEBUG_LAYER", "1") + -- add_syslinks("GL") end -- Compile GLFW from source @@ -79,6 +82,8 @@ target("core_config") target("core_static") set_kind("static") add_deps("core_config") -- inherit common configurations + set_policy("build.merge_archive", true) + add_files("src/empty.c") target("core_shared") set_kind("shared") |