Merge branch 'master' into vulkan

This commit is contained in:
Lynix
2018-04-26 22:48:49 +02:00
191 changed files with 5200 additions and 3554 deletions

View File

@@ -1,7 +1,7 @@
NazaraBuild = {}
-- I wish Premake had a way to know the compiler in advance
local clangGccActions = "action:" .. table.concat({"codeblocks", "codelite", "gmake", "xcode3", "xcode4"}, " or ")
local clangGccActions = "action:" .. table.concat({"codeblocks", "codelite", "gmake*", "xcode3", "xcode4"}, " or ")
function NazaraBuild:AddExecutablePath(path)
table.insert(self.ExecutableDir, path)
@@ -13,16 +13,16 @@ function NazaraBuild:AddInstallPath(path)
end
function NazaraBuild:FilterLibDirectory(prefix, func)
filter({"action:codeblocks or codelite or gmake", "architecture:x86", "system:Windows"})
filter({"action:codeblocks or codelite or gmake*", "architecture:x86", "system:Windows"})
func(prefix .. "mingw/x86")
filter({"action:codeblocks or codelite or gmake", "architecture:x86_64", "system:Windows"})
filter({"action:codeblocks or codelite or gmake*", "architecture:x86_64", "system:Windows"})
func(prefix .. "mingw/x64")
filter({"action:codeblocks or codelite or gmake", "architecture:x86", "system:not Windows"})
filter({"action:codeblocks or codelite or gmake*", "architecture:x86", "system:not Windows"})
func(prefix .. "gmake/x86")
filter({"action:codeblocks or codelite or gmake", "architecture:x86_64", "system:not Windows"})
filter({"action:codeblocks or codelite or gmake*", "architecture:x86_64", "system:not Windows"})
func(prefix .. "gmake/x64")
filter({"action:vs*", "architecture:x86"})

View File

@@ -1,5 +1,7 @@
MODULE.Name = "Platform"
MODULE.ClientOnly = true
MODULE.Libraries = {
"NazaraCore",
"NazaraUtility"

View File

@@ -27,6 +27,8 @@ TOOL.FilesExcluded = {
"../SDK/**/CameraComponent.*",
"../SDK/**/Canvas.*",
"../SDK/**/Console.*",
"../SDK/**/DebugComponent.*",
"../SDK/**/DebugSystem.*",
"../SDK/**/GraphicsComponent.*",
"../SDK/**/LightComponent.*",
"../SDK/**/ListenerComponent.*",