summaryrefslogtreecommitdiffstats
path: root/Templates/TestDriver.cxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-07 13:15:17 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-07 13:17:44 (GMT)
commit63fc8dcdb82e91b7218aab959d75f924f6a01bc1 (patch)
tree5afe788a90f5a5d6809d0c4407794c5329d948f4 /Templates/TestDriver.cxx.in
parentebd8fa2256c9293b3887f6aeecc9aa7ee718137d (diff)
downloadCMake-63fc8dcdb82e91b7218aab959d75f924f6a01bc1.zip
CMake-63fc8dcdb82e91b7218aab959d75f924f6a01bc1.tar.gz
CMake-63fc8dcdb82e91b7218aab959d75f924f6a01bc1.tar.bz2
create_test_sourcelist: Suppress MSVC warnings in test driver (#15066)
Suggested-by: Ken Moreland <kmorel@sandia.gov>
Diffstat (limited to 'Templates/TestDriver.cxx.in')
-rw-r--r--Templates/TestDriver.cxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index 0e0a872..ffa6999 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -3,6 +3,10 @@
#include <string.h>
#include <stdlib.h>
+#if defined(_MSC_VER)
+# pragma warning(disable:4996) /* deprecation */
+#endif
+
@CMAKE_TESTDRIVER_EXTRA_INCLUDES@