VERY experimental Nintendo Switch 2 emulator
C++
Merge pull request #675 from jroweboy/windows-build-fixes
Yuri Kunde Schlesnera188e0fa574a
diff --cc CMakeLists.txtindex dc525aa3da,5cae66dec5..fc742317c0--- a/CMakeLists.txt+++ b/CMakeLists.txt@@@ -8,13 -8,11 +8,14 @@@ if (NOT MSVCset(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread")set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")else()- # Silence deprecation warnings- add_definitions(/D_CRT_SECURE_NO_WARNINGS)+ # Silence "deprecation" warnings+ add_definitions(/D_CRT_SECURE_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE)+ # Avoid windows.h junk+ add_definitions(/DNOMINMAX)+# set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms)set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)+ set(CMAKE_CONFIGURATION_TYPES Debug Release RelWithDebInfo CACHE STRING "" FORCE)# Tweak optimization settings# As far as I can tell, there's no way to override the CMake defaults while leaving user