mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
287730e9c7
For this we now use a custom triplet. This has some drawbacks like openssl does not work with this config. Luckily we can use openssl that is provided by Qt. On macOS they use Secure Transport.
161 lines
4.5 KiB
JSON
161 lines
4.5 KiB
JSON
{
|
|
"version": 5,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 23,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "default-windows",
|
|
"displayName": "ScreenPlay 64bit Windows",
|
|
"description": "Windows only!",
|
|
"generator": "Ninja",
|
|
"hidden": true,
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"environment" : {
|
|
"qt_path": "${sourceDir}/../aqt",
|
|
"qt_version": "6.5.1"
|
|
},
|
|
"toolset": {
|
|
"value": "host=x64",
|
|
"strategy": "external"
|
|
},
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_PREFIX_PATH": "$env{qt_path}/$env{qt_version}/msvc2019_64",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows",
|
|
"CMAKE_C_COMPILER": "cl.exe",
|
|
"CMAKE_CXX_COMPILER": "cl.exe"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-debug-qt-6.5.1",
|
|
"inherits": "default-windows",
|
|
"displayName": "MSVC SP Qt 6.5.1 Debug",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.1_MSVC_Debug",
|
|
"environment": {
|
|
"qt_version": "6.5.1"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-relwithdebinfo-qt-6.5.1",
|
|
"inherits": "default-windows",
|
|
"displayName": "MSVC SP Qt 6.5.1 RelWithDebInfo",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.1_MSVC_RelWithDebInfo",
|
|
"environment": {
|
|
"qt_version": "6.5.1"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-release-qt-6.5.1",
|
|
"inherits": "default-windows",
|
|
"displayName": "MSVC SP Qt 6.5.1 Release",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.1_MSVC_Release",
|
|
"environment": {
|
|
"qt_version": "6.5.1"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"displayName": "ScreenPlay 64bit Debug Linux",
|
|
"description": "Linux only!",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.1_GCC_Debug",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
},
|
|
"environment" : {
|
|
"qt_path": "${sourceDir}/../aqt"
|
|
},
|
|
"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.5.1/gcc_64",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_TARGET_TRIPLET": "x64-linux"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-relwithdebinfo",
|
|
"displayName": "ScreenPlay 64bit RelWithDebInfo Linux",
|
|
"inherits":"linux-debug",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.1_GCC_RelWithDebInfo",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "osx-debug",
|
|
"displayName": "ScreenPlay 64bit Debug osx",
|
|
"description": "Osx only!",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6.5.1_Clang_Debug",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
},
|
|
"environment" : {
|
|
"qt_path": "${sourceDir}/../aqt"
|
|
},
|
|
"cacheVariables": {
|
|
"VCPKG_OSX_ARCHITECTURES":"arm64;x86_64",
|
|
"VCPKG_TARGET_TRIPLET": "64-osx-universal",
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_PREFIX_PATH": "$env{qt_path}/6.5.1/macos",
|
|
"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.1_Clang_RelWithDebInfo",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "linux-debug",
|
|
"configurePreset": "linux-debug"
|
|
},
|
|
{
|
|
"name": "default-windows",
|
|
"configurePreset": "default-windows"
|
|
},
|
|
{
|
|
"name": "osx-debug",
|
|
"configurePreset": "osx-debug"
|
|
}
|
|
]
|
|
}
|