From 9862e19a361cb48a236c99aeee402dd1d7f926b9 Mon Sep 17 00:00:00 2001 From: Bart House Date: Fri, 29 Jan 2021 20:49:37 -0800 Subject: [PATCH] Disable warning for LUA files in Visual Studio builds. --- win/win32/vs/NetHack.vcxproj | 52 +++------------------------- win/win32/vs/NetHackProperties.props | 5 ++- win/win32/vs/NetHackW.vcxproj | 50 ++------------------------ win/win32/vs/files.props | 37 +++++++++++++++++++- win/win32/vs/recover.vcxproj | 13 +------ 5 files changed, 48 insertions(+), 109 deletions(-) diff --git a/win/win32/vs/NetHack.vcxproj b/win/win32/vs/NetHack.vcxproj index 211181e93..02240e2c0 100644 --- a/win/win32/vs/NetHack.vcxproj +++ b/win/win32/vs/NetHack.vcxproj @@ -1,4 +1,4 @@ - + @@ -9,18 +9,7 @@ - - - - - - - - - - - - + @@ -53,42 +42,9 @@ - - - - - true - false + + 4701;4702;4244;4310 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/win/win32/vs/NetHackProperties.props b/win/win32/vs/NetHackProperties.props index 25f634a7b..0d595c4f2 100644 --- a/win/win32/vs/NetHackProperties.props +++ b/win/win32/vs/NetHackProperties.props @@ -5,7 +5,10 @@ 3 7 0 - 5.4.2 + 5 + 4 + 2> + $(LUA_MAJOR_VERSION).$(LUA_MINOR_VERSION).$(LUA_PATCH_LEVEL) true diff --git a/win/win32/vs/NetHackW.vcxproj b/win/win32/vs/NetHackW.vcxproj index cd8f67d1a..0791957cd 100644 --- a/win/win32/vs/NetHackW.vcxproj +++ b/win/win32/vs/NetHackW.vcxproj @@ -8,18 +8,7 @@ - - - - - - - - - - - - + @@ -47,42 +36,9 @@ - - - - - true - false + + 4701;4702;4244;4310 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/win/win32/vs/files.props b/win/win32/vs/files.props index 5aeae719e..5d955fe66 100644 --- a/win/win32/vs/files.props +++ b/win/win32/vs/files.props @@ -188,4 +188,39 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/win/win32/vs/recover.vcxproj b/win/win32/vs/recover.vcxproj index d7f593065..27828e5ec 100644 --- a/win/win32/vs/recover.vcxproj +++ b/win/win32/vs/recover.vcxproj @@ -7,18 +7,7 @@ - - - - - - - - - - - - + -- 2.50.1