diff --git a/NazaraModuleTemplate/build/scripts/module/modulename.lua b/NazaraModuleTemplate/build/scripts/module/modulename.lua index 421c42306..0fa66f65e 100644 --- a/NazaraModuleTemplate/build/scripts/module/modulename.lua +++ b/NazaraModuleTemplate/build/scripts/module/modulename.lua @@ -1,4 +1,4 @@ -if (not _OPTIONS["one-library"]) then +if (not _OPTIONS["united"]) then project "NazaraModuleName" end @@ -16,7 +16,7 @@ else excludes { "../src/Nazara/ModuleName/Win32/*.hpp", "../src/Nazara/ModuleName/Win32/*.cpp" } end -if (_OPTIONS["one-library"]) then +if (_OPTIONS["united"]) then excludes "../src/Nazara/ModuleName/Debug/Leaks.cpp" else configuration "DebugStatic" @@ -30,5 +30,4 @@ else configuration "ReleaseDLL" links "NazaraCore" -end end \ No newline at end of file diff --git a/examples/AnimatedMesh/build.lua b/examples/AnimatedMesh/build.lua index a5d657395..ec434dd22 100644 --- a/examples/AnimatedMesh/build.lua +++ b/examples/AnimatedMesh/build.lua @@ -2,7 +2,7 @@ kind "ConsoleApp" files "main.cpp" -if (_OPTIONS["one-library"]) then +if (_OPTIONS["united"]) then configuration "DebugStatic" links "NazaraEngine-s-d" diff --git a/examples/DopplerEffect/build.lua b/examples/DopplerEffect/build.lua index 6e48bff00..92711ed35 100644 --- a/examples/DopplerEffect/build.lua +++ b/examples/DopplerEffect/build.lua @@ -2,7 +2,7 @@ kind "ConsoleApp" files "main.cpp" -if (_OPTIONS["one-library"]) then +if (_OPTIONS["united"]) then configuration "DebugStatic" links "NazaraEngine-s-d" diff --git a/examples/ListSequences/build.lua b/examples/ListSequences/build.lua index d43cb7d64..2e4c8c7a2 100644 --- a/examples/ListSequences/build.lua +++ b/examples/ListSequences/build.lua @@ -2,7 +2,7 @@ kind "ConsoleApp" files "main.cpp" -if (_OPTIONS["one-library"]) then +if (_OPTIONS["united"]) then configuration "DebugStatic" links "NazaraEngine-s-d"