testing if these even have any effect

This commit is contained in:
jadebenn 2024-01-30 20:34:41 -06:00
parent e7058be3dc
commit ab39754597
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ if(UNIX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2 -fPIC") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2 -fPIC")
elseif(MSVC) elseif(MSVC)
# Skip warning for invalid conversion from size_t to uint32_t for all targets below for now # Skip warning for invalid conversion from size_t to uint32_t for all targets below for now
add_compile_options("${COMPILE_OPTIONS}" "/wd4267" "/utf-8") add_compile_options("/wd4267" "/utf-8")
elseif(WIN32) elseif(WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS) add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
endif() endif()

View File

@ -36,7 +36,7 @@
}, },
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo", "CMAKE_BUILD_TYPE": "RelWithDebInfo",
"COMPILE_OPTIONS": "/permissive-;/Zc:inline" "COMPILE_OPTIONS": "/W3;/permissive-;/Zc:inline"
} }
}, },
{ {