Fixed premake file of examples and template
Former-commit-id: 9fb60b867d80450a6afb97dbc65904bfee89b377
This commit is contained in:
@@ -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
|
||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user