Merge remote-tracking branch 'refs/remotes/origin/master' into vulkan
This commit is contained in:
@@ -67,7 +67,7 @@ ACTION.Function = function ()
|
||||
error("Failed to create header file (" .. v.Target .. "): " .. err)
|
||||
end
|
||||
|
||||
header:write("// This file was automatically generated on " .. os.date("%d %b %Y at %X") .. "\n\n")
|
||||
header:write("// This file was automatically generated\n\n")
|
||||
if (v.Header) then
|
||||
header:write(v.Header)
|
||||
end
|
||||
|
||||
@@ -312,7 +312,7 @@ function NazaraBuild:Execute()
|
||||
if (toolTable.Kind == "library") then
|
||||
targetdir(toolTable.TargetDirectory .. "/" .. makeLibDir .. "/x86")
|
||||
elseif (toolTable.Kind == "plugin") then
|
||||
targetdir("../plugins/" .. toolTable.Name .. "/lib/" .. makeLibDir .. "/x86")
|
||||
targetdir("../plugins/lib/" .. makeLibDir .. "/x86")
|
||||
end
|
||||
|
||||
configuration({"codeblocks or codelite or gmake", "x64"})
|
||||
@@ -321,7 +321,7 @@ function NazaraBuild:Execute()
|
||||
if (toolTable.Kind == "library") then
|
||||
targetdir(toolTable.TargetDirectory .. "/" .. makeLibDir .. "/x64")
|
||||
elseif (toolTable.Kind == "plugin") then
|
||||
targetdir("../plugins/" .. toolTable.Name .. "/lib/" .. makeLibDir .. "/x64")
|
||||
targetdir("../plugins/lib/" .. makeLibDir .. "/x64")
|
||||
end
|
||||
|
||||
configuration({"vs*", "x32"})
|
||||
@@ -330,7 +330,7 @@ function NazaraBuild:Execute()
|
||||
if (toolTable.Kind == "library") then
|
||||
targetdir(toolTable.TargetDirectory .. "/msvc/x86")
|
||||
elseif (toolTable.Kind == "plugin") then
|
||||
targetdir("../plugins/" .. toolTable.Name .. "/lib/msvc/x86")
|
||||
targetdir("../plugins/lib/msvc/x86")
|
||||
end
|
||||
|
||||
configuration({"vs*", "x64"})
|
||||
@@ -339,7 +339,7 @@ function NazaraBuild:Execute()
|
||||
if (toolTable.Kind == "library") then
|
||||
targetdir(toolTable.TargetDirectory .. "/msvc/x64")
|
||||
elseif (toolTable.Kind == "plugin") then
|
||||
targetdir("../plugins/" .. toolTable.Name .. "/lib/msvc/x64")
|
||||
targetdir("../plugins/lib/msvc/x64")
|
||||
end
|
||||
|
||||
configuration({"xcode3 or xcode4", "x32"})
|
||||
@@ -348,7 +348,7 @@ function NazaraBuild:Execute()
|
||||
if (toolTable.Kind == "library") then
|
||||
targetdir(toolTable.TargetDirectory .. "/xcode/x86")
|
||||
elseif (toolTable.Kind == "plugin") then
|
||||
targetdir("../plugins/" .. toolTable.Name .. "/lib/xcode/x86")
|
||||
targetdir("../plugins/lib/xcode/x86")
|
||||
end
|
||||
|
||||
configuration({"xcode3 or xcode4", "x64"})
|
||||
@@ -357,7 +357,7 @@ function NazaraBuild:Execute()
|
||||
if (toolTable.Kind == "library") then
|
||||
targetdir(toolTable.TargetDirectory .. "/xcode/x64")
|
||||
elseif (toolTable.Kind == "plugin") then
|
||||
targetdir("../plugins/" .. toolTable.Name .. "/lib/xcode/x64")
|
||||
targetdir("../plugins/lib/xcode/x64")
|
||||
end
|
||||
|
||||
configuration("*Static")
|
||||
@@ -403,7 +403,7 @@ function NazaraBuild:Execute()
|
||||
|
||||
for k, exampleTable in ipairs(self.OrderedExamples) do
|
||||
local destPath = "../examples/bin"
|
||||
|
||||
|
||||
project("Demo" .. exampleTable.Name)
|
||||
|
||||
location(_ACTION .. "/examples")
|
||||
|
||||
6
build/scripts/modules/physics2d.lua
Normal file
6
build/scripts/modules/physics2d.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
MODULE.Name = "Physics2D"
|
||||
|
||||
MODULE.Libraries = {
|
||||
"NazaraCore",
|
||||
"chipmunk-s"
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
MODULE.Name = "Physics"
|
||||
MODULE.Name = "Physics3D"
|
||||
|
||||
MODULE.Libraries = {
|
||||
"NazaraCore",
|
||||
@@ -26,6 +26,6 @@ TOOL.Libraries = function()
|
||||
for k,v in pairs(NazaraBuild.Modules) do
|
||||
table.insert(libraries, "Nazara" .. v.Name)
|
||||
end
|
||||
|
||||
|
||||
return libraries
|
||||
end
|
||||
@@ -44,6 +44,7 @@ TOOL.Libraries = {
|
||||
"NazaraLua",
|
||||
"NazaraNetwork",
|
||||
"NazaraNoise",
|
||||
"NazaraPhysics",
|
||||
"NazaraPhysics2D",
|
||||
"NazaraPhysics3D",
|
||||
"NazaraUtility"
|
||||
}
|
||||
|
||||
@@ -14,7 +14,9 @@ TOOL.Includes = {
|
||||
|
||||
TOOL.Files = {
|
||||
"../tests/main.cpp",
|
||||
"../tests/Engine/**.hpp",
|
||||
"../tests/Engine/**.cpp",
|
||||
"../tests/SDK/**.hpp",
|
||||
"../tests/SDK/**.cpp"
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,9 @@ TOOL.Includes = {
|
||||
|
||||
TOOL.Files = {
|
||||
"../tests/main.cpp",
|
||||
"../tests/Engine/**.hpp",
|
||||
"../tests/Engine/**.cpp",
|
||||
"../tests/SDK/**.hpp",
|
||||
"../tests/SDK/**.cpp"
|
||||
}
|
||||
|
||||
@@ -23,6 +25,7 @@ TOOL.Files = {
|
||||
TOOL.FilesExcluded = {
|
||||
"../tests/Engine/Audio/**",
|
||||
"../tests/Engine/Graphics/**",
|
||||
"../tests/Engine/Utility/**",
|
||||
"../tests/SDK/NDK/Application.cpp",
|
||||
"../tests/SDK/NDK/Systems/ListenerSystem.cpp",
|
||||
"../tests/SDK/NDK/Systems/RenderSystem.cpp"
|
||||
|
||||
Reference in New Issue
Block a user