Split engine to packages NazaraUtils and NZSL (#375)

* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
This commit is contained in:
Jérôme Leclercq
2022-05-25 19:36:10 +02:00
committed by GitHub
parent 3f8f1c4653
commit 03e2801dbe
483 changed files with 1139 additions and 59112 deletions

View File

@@ -1,18 +0,0 @@
add_requires("cxxopts")
target("NazaraShaderCompiler")
set_group("Tools")
set_kind("binary")
set_basename("nzslc")
add_rpathdirs("$ORIGIN")
add_deps("NazaraShader")
add_packages("cxxopts", "fmt")
if has_config("unitybuild") then
add_rules("c++.unity_build")
end
add_includedirs("../src")
add_headerfiles("../src/ShaderCompiler/**.hpp", "../src/ShaderCompiler/**.inl")
add_files("../src/ShaderCompiler/**.cpp")

View File

@@ -103,7 +103,8 @@ if has_config("shadernodes") then
set_kind("binary")
add_rules("qt5.moc")
add_deps("NazaraShader")
add_deps("NazaraCore")
add_packages("nzsl")
add_packages("nodeeditor")
add_packages("qt5core", "qt5gui", "qt5widgets")
if not is_plat("windows") then