1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/CMakePresets.json

171 lines
5.6 KiB
JSON
Raw Normal View History

{
2022-12-15 14:55:47 +01:00
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 18,
"patch": 0
},
"configurePresets": [
{
"name": "default-windows",
"displayName": "ScreenPlay 64bit Windows",
2022-12-15 14:55:47 +01:00
"description": "Windows only!",
"generator": "Ninja",
"hidden": true,
2022-12-15 14:55:47 +01:00
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"environment" : {
"qt_path": "${sourceDir}/../aqt",
"qt_version": "6.5.0",
"VCToolsVersion": "14.34.31933",
"WindowsSDKVersion" : "10.0.22621.0",
"VCArch": "x64",
"VCHostArch": "Hostx64",
"VCToolsInstallDir": "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/$env{VCToolsVersion}",
"WindowsSdkDir" : "C:/Program Files (x86)/Windows Kits/10",
"WindowsSdkIncVerDir": "$env{WindowsSdkDir}/Include/$env{WindowsSDKVersion}",
"WindowsSdkLibVerDir": "$env{WindowsSdkDir}/Lib/$env{WindowsSDKVersion}",
"INCLUDE": "$env{VCToolsInstallDir}/ATLMFC/include;$env{VCToolsInstallDir}/include;$env{WindowsSdkIncVerDir}/ucrt;$env{WindowsSdkIncVerDir}/shared;$env{WindowsSdkIncVerDir}/um;$env{WindowsSdkIncVerDir}/winrt;$env{WindowsSdkIncVerDir}/cppwinrt",
"LIB": "$env{VCToolsInstallDir}/ATLMFC/lib/$env{VCArch};$env{VCToolsInstallDir}/lib/$env{VCArch};$env{WindowsSdkLibVerDir}/ucrt/$env{VCArch};$env{WindowsSdkLibVerDir}/um/$env{VCArch}",
"PATH": "$env{qt_path}/Tools/Ninja/;$env{VCToolsInstallDir}/bin/$env{VCHostArch}/$env{VCArch};$env{WindowsSdkDir}/bin/$env{WindowsSDKVersion}/$env{VCArch};$penv{PATH}"
},
2022-12-15 14:55:47 +01:00
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{qt_path}/$env{qt_version}/msvc2019_64",
2022-12-16 13:34:15 +01:00
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows",
"CMAKE_C_COMPILER": "$env{VCToolsInstallDir}/bin/$env{VCHostArch}/x64/cl.exe",
"CMAKE_CXX_COMPILER": "$env{VCToolsInstallDir}/bin/$env{VCHostArch}/x64/cl.exe"
}
},
{
"name": "windows-debug-qt-6.5.0",
"inherits": "default-windows",
2023-01-29 13:26:36 +01:00
"displayName": "MSVC SP Qt 6.5.0 Debug",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.0_MSVC_Debug",
"environment": {
"qt_version": "6.5.0"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "windows-relwithdebinfo-qt-6.5.0",
"inherits": "default-windows",
2023-01-29 13:26:36 +01:00
"displayName": "MSVC SP Qt 6.5.0 RelWithDebInfo",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.0_MSVC_RelWithDebInfo",
"environment": {
"qt_version": "6.5.0"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
2022-12-15 14:55:47 +01:00
}
},
2023-03-02 13:14:39 +01:00
{
"name": "windows-release-qt-6.5.0",
"inherits": "default-windows",
"displayName": "MSVC SP Qt 6.5.0 Release",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.0_MSVC_Release",
"environment": {
"qt_version": "6.5.0"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
2022-12-15 14:55:47 +01:00
{
"name": "linux-debug",
"displayName": "ScreenPlay 64bit Debug Linux",
"description": "Linux only!",
"generator": "Ninja",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.4.2_GCC_Debug",
2022-12-15 14:55:47 +01:00
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"environment" : {
"qt_path": "${sourceDir}/../aqt"
},
2022-12-15 14:55:47 +01:00
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_PREFIX_PATH": "$env{qt_path}/6.4.2/gcc_64",
2022-12-16 13:34:15 +01:00
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake",
2022-12-15 14:55:47 +01:00
"VCPKG_TARGET_TRIPLET": "x64-linux"
}
2022-12-17 11:51:50 +01:00
},
{
"name": "linux-relwithdebinfo",
"displayName": "ScreenPlay 64bit RelWithDebInfo Linux",
"inherits":"linux-debug",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.4.2_GCC_RelWithDebInfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
2022-12-17 11:51:50 +01:00
{
"name": "osx-debug",
"displayName": "ScreenPlay 64bit Debug osx",
"description": "Osx only!",
"generator": "Ninja",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.0_Clang_Debug",
2022-12-17 11:51:50 +01:00
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
},
"environment" : {
"qt_path": "${sourceDir}/../aqt"
},
2022-12-17 11:51:50 +01:00
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_C_COMPILER": "clang",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_PREFIX_PATH": "$env{qt_path}/6.5.0/macos",
2022-12-17 11:51:50 +01:00
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake"
}
},
{
"name": "osx-relwithdebinfo",
"displayName": "ScreenPlay 64bit RelWithDebInfo osx",
"inherits": "osx-debug",
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.0_Clang_RelWithDebInfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
2022-12-15 14:55:47 +01:00
}
],
"buildPresets": [
{
"name": "linux-debug",
"configurePreset": "linux-debug"
},
{
"name": "default-windows",
"configurePreset": "default-windows"
2022-12-17 11:51:50 +01:00
},
{
"name": "osx-debug",
"configurePreset": "osx-debug"
2022-12-15 14:55:47 +01:00
}
]
}