Skip to content
Snippets Groups Projects
Commit 1ee920bc authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Attempt to disable most of the warnings.

Define _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_DEPRECATE
parent dac31a70
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ include("FetchContent")
if(MSVC)
add_compile_options("/FI${XPDevPlus_BINARY_DIR}/xpdevplus.h")
add_compile_definitions(NOMINMAX _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE)
else()
add_compile_options("SHELL:-include xpdevplus.h")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment