Fixed premake file of examples and template

Former-commit-id: 9fb60b867d80450a6afb97dbc65904bfee89b377
This commit is contained in:
Lynix 2012-10-24 17:59:14 +02:00
parent 5bbc8d0fa4
commit bb003885bf
4 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
if (not _OPTIONS["one-library"]) then if (not _OPTIONS["united"]) then
project "NazaraModuleName" project "NazaraModuleName"
end end
@ -16,7 +16,7 @@ else
excludes { "../src/Nazara/ModuleName/Win32/*.hpp", "../src/Nazara/ModuleName/Win32/*.cpp" } excludes { "../src/Nazara/ModuleName/Win32/*.hpp", "../src/Nazara/ModuleName/Win32/*.cpp" }
end end
if (_OPTIONS["one-library"]) then if (_OPTIONS["united"]) then
excludes "../src/Nazara/ModuleName/Debug/Leaks.cpp" excludes "../src/Nazara/ModuleName/Debug/Leaks.cpp"
else else
configuration "DebugStatic" configuration "DebugStatic"
@ -30,5 +30,4 @@ else
configuration "ReleaseDLL" configuration "ReleaseDLL"
links "NazaraCore" links "NazaraCore"
end
end end

View File

@ -2,7 +2,7 @@ kind "ConsoleApp"
files "main.cpp" files "main.cpp"
if (_OPTIONS["one-library"]) then if (_OPTIONS["united"]) then
configuration "DebugStatic" configuration "DebugStatic"
links "NazaraEngine-s-d" links "NazaraEngine-s-d"

View File

@ -2,7 +2,7 @@ kind "ConsoleApp"
files "main.cpp" files "main.cpp"
if (_OPTIONS["one-library"]) then if (_OPTIONS["united"]) then
configuration "DebugStatic" configuration "DebugStatic"
links "NazaraEngine-s-d" links "NazaraEngine-s-d"

View File

@ -2,7 +2,7 @@ kind "ConsoleApp"
files "main.cpp" files "main.cpp"
if (_OPTIONS["one-library"]) then if (_OPTIONS["united"]) then
configuration "DebugStatic" configuration "DebugStatic"
links "NazaraEngine-s-d" links "NazaraEngine-s-d"