diff --git a/CMakePresets.json b/CMakePresets.json index 83c9e5342..f3613828f 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -45,6 +45,21 @@ "IMHEX_IDE_HELPERS_OVERRIDE_XCODE_COMPILER": "ON" } + }, + { + "name": "vs2022", + "displayName": "Visual Studio 2022", + "generator": "Visual Studio 17 2022", + "binaryDir": "${sourceDir}/build/${presetName}", + "architecture": { + "strategy": "set", + "value": "Win32" + }, + "cacheVariables": { + "CMAKE_C_FLAGS": "/std:clatest", + "CMAKE_CXX_FLAGS": "/std:c++latest", + "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" + } } ], "buildPresets": [ diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 000000000..5389bef9d --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,16 @@ +{ + "name": "vcpkg", + "version": "1.0.0", + "builtin-baseline": "19f945ab2c1e816de6bbb812fc1514e3dc52c287", + "dependencies": [ + "libmagic", + "freetype", + "mbedtls", + "zlib", + "bzip2", + "liblzma", + "zstd", + "glfw3", + "curl" + ] +} \ No newline at end of file