From a0ee2ae83ce8df792d6885b9ae7a3c3396d06183 Mon Sep 17 00:00:00 2001 From: Myria Date: Sat, 26 Dec 2015 11:39:33 -0800 Subject: [PATCH] Disable lame "security" warnings from Visual Studio. Changed C runtime library to static for release builds, so that no external .dll is required. --- ctrtool/ctrtool.vcxproj | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ctrtool/ctrtool.vcxproj b/ctrtool/ctrtool.vcxproj index d16bc57..e0d01b5 100644 --- a/ctrtool/ctrtool.vcxproj +++ b/ctrtool/ctrtool.vcxproj @@ -54,7 +54,7 @@ Disabled windows;.;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + WIN32;_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL @@ -75,15 +75,14 @@ MaxSpeed true windows;.;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - MultiThreadedDLL + WIN32;_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreaded true Level3 ProgramDatabase - c:\dev\tools\bin\ctrtool.exe true Console true