Update CMake presets.

This commit is contained in:
Jean-Philip Desjardins 2024-10-26 11:13:08 -04:00
parent b45744cc43
commit 7f5573063b
3 changed files with 41 additions and 22 deletions

View file

@ -26,30 +26,55 @@
"hidden": true
},
{
"name": "WIN32",
"architecture": {
"value": "x64",
"strategy": "set"
},
"name": "WINDOWS",
"cacheVariables": {
"USE_QT": {
"type": "BOOL",
"value": "ON"
},
"BUILD_PSFPLAYER": {
"type": "BOOL",
"value": "ON"
}
},
"hidden": true
},
{
"name": "win32-vs",
"name": "WINDOWS-X86_32",
"inherits": "WINDOWS",
"architecture": {
"value": "Win32",
"strategy": "set"
},
"hidden": true
},
{
"name": "WINDOWS-X86_64",
"inherits": "WINDOWS",
"architecture": {
"value": "x64",
"strategy": "set"
},
"hidden": true
},
{
"name": "windows-x86_32-vs",
"inherits": [
"WIN32",
"WINDOWS-X86_32",
"VS"
]
},
{
"name": "win32-vs-debugger",
"name": "windows-x86_64-vs",
"inherits": [
"WIN32",
"WINDOWS-X86_64",
"VS"
]
},
{
"name": "windows-debugger-x86_64-vs",
"inherits": [
"WINDOWS-X86_64",
"VS",
"DEBUGGER"
]
@ -57,8 +82,8 @@
],
"buildPresets": [
{
"name": "win32-vs",
"configurePreset": "win32-vs",
"name": "windows-x86_64-vs",
"configurePreset": "windows-x86_64-vs",
"configuration": "RelWithDebInfo",
"targets": [
"Play",
@ -66,11 +91,11 @@
]
},
{
"name": "win32-vs-debugger",
"configurePreset": "win32-vs-debugger",
"name": "windows-debugger-x86_64-vs",
"configurePreset": "windows-debugger-x86_64-vs",
"targets": [
"Play"
]
}
]
}
}

View file

@ -1,5 +1,2 @@
@echo off
mkdir build_vs2022
pushd build_vs2022
cmake ../.. -G "Visual Studio 17 2022" -A x64 -DUSE_QT=on -DBUILD_LIBRETRO_CORE=yes -DBUILD_PSFPLAYER=on -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64"
popd
cmake .. --preset windows-x86_64-vs -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64"

View file

@ -1,5 +1,2 @@
@echo off
mkdir build_debugger_vs2022
pushd build_debugger_vs2022
cmake ../.. -G "Visual Studio 17 2022" -A x64 -DUSE_QT=on -DBUILD_PSFPLAYER=on -DDEBUGGER_INCLUDED=on -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64"
popd
cmake .. --preset windows-debugger-x86_64-vs -DCMAKE_PREFIX_PATH="C:\Qt\5.15.2\msvc2019_64"