feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -62,13 +62,9 @@ if env["builtin_glslang"]:
|
|||
|
||||
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
||||
|
||||
# Treat glslang headers as system headers to avoid raising warnings. Not supported on MSVC.
|
||||
# Include `#thirdparty` to workaround mismatch between location of `SPIRV` in library source
|
||||
# and in installed public headers.
|
||||
if not env.msvc:
|
||||
env_glslang.Append(CPPFLAGS=["-isystem", Dir(thirdparty_dir).path, "-isystem", Dir("#thirdparty").path])
|
||||
else:
|
||||
env_glslang.Prepend(CPPPATH=[thirdparty_dir, "#thirdparty"])
|
||||
env_glslang.Prepend(CPPEXTPATH=[thirdparty_dir, "#thirdparty"])
|
||||
|
||||
env_glslang.Append(CPPDEFINES=["ENABLE_OPT=0"])
|
||||
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GLSLANG_REGISTER_TYPES_H
|
||||
#define GLSLANG_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#define MODULE_GLSLANG_HAS_PREREGISTER
|
||||
|
||||
|
|
@ -37,5 +36,3 @@
|
|||
|
||||
void initialize_glslang_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_glslang_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // GLSLANG_REGISTER_TYPES_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue