-
-
Save Riztazz/244d6d7b0af6e236d5660c64b8c7415b to your computer and use it in GitHub Desktop.
CMakePreset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 3, | |
"cmakeMinimumRequired": { | |
"major": 3, | |
"minor": 21, | |
"patch": 0 | |
}, | |
"configurePresets": [ | |
{ | |
"name": "ninja-win64", | |
"displayName": "Windows x64", | |
"binaryDir": "${sourceDir}/.build/${presetName}", | |
"installDir": "${sourceDir}/bin/", | |
"generator": "Ninja Multi-Config", | |
"architecture": { | |
"value": "x64", | |
"strategy": "external" | |
}, | |
"cacheVariables": { | |
"VCPKG_INSTALLED_DIR": "${sourceDir}/.build/vcpkg_installed", | |
"VCPKG_TARGET_TRIPLET": "x64-windows", | |
"VCPKG_HOST_TRIPLET": "x64-windows", | |
"VCPKG_OVERLAY_PORTS": { | |
"type": "FILEPATH", | |
"value": "${sourceDir}/.vcpkg/ports" | |
}, | |
"VCPKG_OVERLAY_TRIPLETS": { | |
"type": "FILEPATH", | |
"value": "${sourceDir}/.vcpkg/triplets" | |
}, | |
"CMAKE_CONFIGURATION_TYPES": "Debug;Release", | |
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG": { | |
"type": "FILEPATH", | |
"value": "${sourceDir}/bin/Debug" | |
}, | |
"CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE": { | |
"type": "FILEPATH", | |
"value": "${sourceDir}/bin/Release" | |
}, | |
"CMAKE_INSTALL_PREFIX": { | |
"type": "FILEPATH", | |
"value": "${sourceDir}/install" | |
} | |
} | |
} | |
], | |
"buildPresets": [ | |
{ | |
"name": "ninja-win64-debug", | |
"displayName": "Debug", | |
"configurePreset": "ninja-win64", | |
"configuration": "Debug" | |
}, | |
{ | |
"name": "ninja-win64-release", | |
"displayName": "Release", | |
"configurePreset": "ninja-win64", | |
"configuration": "Release" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment