xmake: Build NewtonDynamics in debug only on Windows
This commit is contained in:
parent
ff107564ee
commit
1858e1f35c
|
|
@ -87,7 +87,7 @@ local modules = {
|
|||
add_repositories("local-repo xmake-repo")
|
||||
|
||||
add_requires("chipmunk2d", "freetype", "libsndfile", "libsdl")
|
||||
add_requires("newtondynamics", { debug = is_mode("debug") })
|
||||
add_requires("newtondynamics", { debug = is_plat("windows") and is_mode("debug") }) -- Newton doesn't like compiling in Debug on Linux
|
||||
|
||||
set_project("NazaraEngine")
|
||||
|
||||
|
|
@ -127,6 +127,7 @@ includes("thirdparty/xmake.lua")
|
|||
|
||||
for name, module in pairs(modules) do
|
||||
target("Nazara" .. name)
|
||||
|
||||
set_kind("shared")
|
||||
set_group("Modules")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue