Added 2D module
Former-commit-id: 4e1ad41928e04e9de4b4288b973f37b6eb0755db
This commit is contained in:
41
build/scripts/module/2d.lua
Normal file
41
build/scripts/module/2d.lua
Normal file
@@ -0,0 +1,41 @@
|
||||
if (not _OPTIONS["united"]) then
|
||||
project "Nazara2D"
|
||||
end
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/2D/**.hpp",
|
||||
"../include/Nazara/2D/**.inl",
|
||||
"../src/Nazara/2D/**.hpp",
|
||||
"../src/Nazara/2D/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/2D/Posix/*.hpp", "../src/Nazara/2D/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/2D/Win32/*.hpp", "../src/Nazara/2D/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
if (_OPTIONS["united"]) then
|
||||
excludes "../src/Nazara/2D/Debug/Leaks.cpp"
|
||||
else
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCore-s-d"
|
||||
links "NazaraUtility-s-d"
|
||||
links "NazaraRenderer-s-d"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
links "NazaraUtility-s"
|
||||
links "NazaraRenderer-s"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCore-d"
|
||||
links "NazaraUtility-d"
|
||||
links "NazaraRenderer-d"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
links "NazaraUtility"
|
||||
links "NazaraRenderer"
|
||||
end
|
||||
35
build/scripts/module/lua.lua
Normal file
35
build/scripts/module/lua.lua
Normal file
@@ -0,0 +1,35 @@
|
||||
if (not _OPTIONS["united"]) then
|
||||
project "NazaraLua"
|
||||
end
|
||||
|
||||
files
|
||||
{
|
||||
"../include/Nazara/Lua/**.hpp",
|
||||
"../include/Nazara/Lua/**.h",
|
||||
"../include/Nazara/Lua/**.inl",
|
||||
"../src/Nazara/Lua/**.hpp",
|
||||
"../src/Nazara/Lua/**.c",
|
||||
"../src/Nazara/Lua/**.cpp"
|
||||
}
|
||||
|
||||
if (os.is("windows")) then
|
||||
excludes { "../src/Nazara/Lua/Posix/*.hpp", "../src/Nazara/Lua/Posix/*.cpp" }
|
||||
else
|
||||
excludes { "../src/Nazara/Lua/Win32/*.hpp", "../src/Nazara/Lua/Win32/*.cpp" }
|
||||
end
|
||||
|
||||
if (_OPTIONS["united"]) then
|
||||
excludes "../src/Nazara/Lua/Debug/Leaks.cpp"
|
||||
else
|
||||
configuration "DebugStatic"
|
||||
links "NazaraCore-s-d"
|
||||
|
||||
configuration "ReleaseStatic"
|
||||
links "NazaraCore-s"
|
||||
|
||||
configuration "DebugDLL"
|
||||
links "NazaraCore-d"
|
||||
|
||||
configuration "ReleaseDLL"
|
||||
links "NazaraCore"
|
||||
end
|
||||
Reference in New Issue
Block a user