mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add CMakePresets.json
Does only work with clang for some reason. I get random errors when selecting cl compiler https://docs.microsoft.com/en-us/cpp/build/cmake-presets-vs?view=msvc-170#select-your-compilers
This commit is contained in:
parent
b900f5c0ae
commit
d9eb9a567b
33
CMakePresets.json
Normal file
33
CMakePresets.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"version": 4,
|
||||
"cmakeMinimumRequired": {
|
||||
"major": 3,
|
||||
"minor": 23,
|
||||
"patch": 0
|
||||
},
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "ScreenPlay_64bit_Debug",
|
||||
"displayName": "Configure preset using toolchain file",
|
||||
"description": "Sets Ninja generator, build and install directory",
|
||||
"generator": "Ninja",
|
||||
"binaryDir": "${sourceDir}/../build_${presetName}_Qt_6_3_0_MSVC2019",
|
||||
"architecture": {
|
||||
"value": "x64",
|
||||
"strategy": "external"
|
||||
},
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug",
|
||||
"CMAKE_PREFIX_PATH": "C:/Qt/6.3.0/msvc2019_64",
|
||||
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../ScreenPlay-vcpkg/scripts/buildsystems/vcpkg.cmake",
|
||||
"VCPKG_TARGET_TRIPLET": "x64-windows"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "default",
|
||||
"configurePreset": "ScreenPlay_64bit_Debug"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user