create_test_sourcelist: Suppress MSVC warnings in test driver (#15066)

Suggested-by: Ken Moreland <kmorel@sandia.gov>
This commit is contained in:
Brad King 2014-08-07 09:15:17 -04:00
parent ebd8fa2256
commit 63fc8dcdb8
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#if defined(_MSC_VER)
# pragma warning(disable:4996) /* deprecation */
#endif
@CMAKE_TESTDRIVER_EXTRA_INCLUDES@ @CMAKE_TESTDRIVER_EXTRA_INCLUDES@