|
@@ -30,7 +30,6 @@ function crown_project(_name, _kind, _defines)
|
|
|
CROWN_DIR .. "engine/physics",
|
|
CROWN_DIR .. "engine/physics",
|
|
|
CROWN_DIR .. "engine/world",
|
|
CROWN_DIR .. "engine/world",
|
|
|
CROWN_DIR .. "third/luajit/src",
|
|
CROWN_DIR .. "third/luajit/src",
|
|
|
- CROWN_DIR .. "third/openal/include",
|
|
|
|
|
CROWN_DIR .. "third/freetype",
|
|
CROWN_DIR .. "third/freetype",
|
|
|
CROWN_DIR .. "third/stb_image",
|
|
CROWN_DIR .. "third/stb_image",
|
|
|
CROWN_DIR .. "third/stb_vorbis",
|
|
CROWN_DIR .. "third/stb_vorbis",
|
|
@@ -39,6 +38,29 @@ function crown_project(_name, _kind, _defines)
|
|
|
CROWN_DIR .. "third/bx/include",
|
|
CROWN_DIR .. "third/bx/include",
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if _OPTIONS["with-openal"] then
|
|
|
|
|
+ includedirs {
|
|
|
|
|
+ CROWN_DIR .. "third/openal/include"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ -- Fix this in GENie
|
|
|
|
|
+ configuration { "debug", "x32", "linux-*" }
|
|
|
|
|
+ linkoptions { "-Lbin/debug", "-lopenal-debug-32", }
|
|
|
|
|
+ configuration { "development", "x32", "linux-*" }
|
|
|
|
|
+ linkoptions { "-Lbin/debug", "-lopenal-development-32", }
|
|
|
|
|
+ configuration { "release", "x32", "linux-*" }
|
|
|
|
|
+ linkoptions { "-Lbin/debug", "-lopenal-release-32", }
|
|
|
|
|
+ configuration { "debug", "x64", "linux-*" }
|
|
|
|
|
+ linkoptions { "-Lbin/debug", "-lopenal-debug-64", }
|
|
|
|
|
+ configuration { "development", "x64", "linux-*" }
|
|
|
|
|
+ linkoptions { "-Lbin/debug", "-lopenal-development-64", }
|
|
|
|
|
+ configuration { "release", "x64", "linux-*" }
|
|
|
|
|
+ linkoptions { "-Lbin/debug", "-lopenal-release-64", }
|
|
|
|
|
+
|
|
|
|
|
+ configuration { "vs*" }
|
|
|
|
|
+ links { "openal", }
|
|
|
|
|
+ end
|
|
|
|
|
+
|
|
|
defines {
|
|
defines {
|
|
|
_defines,
|
|
_defines,
|
|
|
}
|
|
}
|
|
@@ -140,14 +162,6 @@ function crown_project(_name, _kind, _defines)
|
|
|
"dl",
|
|
"dl",
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- -- Fix this in GENie
|
|
|
|
|
- configuration { "debug", "x32", "linux-*" } linkoptions { "-Lbin/debug", "-lopenal-debug-32", }
|
|
|
|
|
- configuration { "development", "x32", "linux-*" } linkoptions { "-Lbin/debug", "-lopenal-development-32", }
|
|
|
|
|
- configuration { "release", "x32", "linux-*" } linkoptions { "-Lbin/debug", "-lopenal-release-32", }
|
|
|
|
|
- configuration { "debug", "x64", "linux-*" } linkoptions { "-Lbin/debug", "-lopenal-debug-64", }
|
|
|
|
|
- configuration { "development", "x64", "linux-*" } linkoptions { "-Lbin/debug", "-lopenal-development-64", }
|
|
|
|
|
- configuration { "release", "x64", "linux-*" } linkoptions { "-Lbin/debug", "-lopenal-release-64", }
|
|
|
|
|
-
|
|
|
|
|
configuration { "debug", "linux-*" }
|
|
configuration { "debug", "linux-*" }
|
|
|
links {
|
|
links {
|
|
|
"bgfxDebug"
|
|
"bgfxDebug"
|
|
@@ -306,7 +320,6 @@ function crown_project(_name, _kind, _defines)
|
|
|
links {
|
|
links {
|
|
|
"OpenGL32",
|
|
"OpenGL32",
|
|
|
"lua51",
|
|
"lua51",
|
|
|
- "openal",
|
|
|
|
|
"dbghelp"
|
|
"dbghelp"
|
|
|
}
|
|
}
|
|
|
|
|
|