aicam/CMakePresets.json
2025-10-19 18:23:50 +08:00

32 lines
1.3 KiB
JSON

{
"version": 8,
"configurePresets": [
{
"name": "msys2-ucrt-mingw64",
"displayName": "GCC 14.2.0 x86_64-w64-mingw32 (ucrt64)",
"description": "正在使用编译器: C = D:\\Dev\\msys64\\ucrt64\\bin\\gcc.exe, CXX = D:\\Dev\\msys64\\ucrt64\\bin\\g++.exe",
"generator": "MinGW Makefiles",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "D:/Dev/msys64/ucrt64/bin/gcc.exe",
"CMAKE_CXX_COMPILER": "D:/Dev/msys64/ucrt64/bin/g++.exe",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "vcpkg-mingw-x64",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE":"Release",
"CMAKE_MAKE_PROGRAM": "ninja.exe",
"CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc.exe",
"CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++.exe",
"VCPKG_TARGET_TRIPLET":"x86-mingw-dynamic",
"VCPKG_HOST_TRIPLET":"x86-mingw-dynamic",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
}
]
}