summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-01-27 12:31:26 -0800
committerGitHub <noreply@github.com>2022-01-27 12:31:26 -0800
commit1fa1b36944a72d4bb21218d3217eac42c451ff34 (patch)
treeddf9f5ab81c0043bf3bdd1ab4fdd77c00dc27038 /premake5.lua
parent22f0c04d2b5f8245ccaee6caee8e5adebea4aea0 (diff)
Turn off edit and continue to prevent warnings. (#2097)
Co-authored-by: Yong He <yhe@nvidia.com> Co-authored-by: Theresa Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua
index e83d61728..dc6f1a552 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -252,8 +252,9 @@ newoption {
cppdialect "C++11"
-- Statically link to the C/C++ runtime rather than create a DLL dependency.
staticruntime "On"
-
- -- Statically link to the C/C++ runtime rather than create a DLL dependency.
+ -- Turn off edit and continue for all projects. This is needed to avoid
+ -- linking warnings.
+ editandcontinue "Off"
-- Once we've set up the common settings, we will make some tweaks
-- that only apply in a subset of cases. Each call to `filter()`
@@ -269,7 +270,6 @@ newoption {
architecture "x86"
filter { "platforms:aarch64"}
architecture "ARM"
- editandcontinue "Off"
filter { "toolset:clang or gcc*" }
@@ -432,7 +432,7 @@ newoption {
-- one, so that subsequent commands affect this project.
--
project(name)
-
+
-- We need every project to have a stable UUID for
-- output formats (like Visual Studio and XCode projects)
-- that use UUIDs rather than names to uniquely identify
@@ -462,7 +462,7 @@ newoption {
-- All of our projects are written in C++.
--
language "C++"
-
+
-- By default, Premake generates VS project files that
-- reflect the directory structure of the source code.
-- While this is nice in principle, it creates messy