mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
736b4a25bf
Remove mac only files from linux/windows build
119 lines
4.2 KiB
JSON
119 lines
4.2 KiB
JSON
{
|
|
"version": 4,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 18,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "windows-debug",
|
|
"displayName": "ScreenPlay 64bit Debug Windows MSVC 2022 Community VCToolsVersion: $env{VCToolsVersion}, WindowsSDKVersion $env{WindowsSDKVersion}",
|
|
"description": "Windows only!",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_4_1_MSVC2019",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"environment" : {
|
|
"aqt_path": "${sourceDir}/../aqt",
|
|
"qt_version": "6.4.1",
|
|
"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{aqt_path}/Tools/Ninja/;$env{VCToolsInstallDir}/bin/$env{VCHostArch}/$env{VCArch};$env{WindowsSdkDir}/bin/$env{WindowsSDKVersion}/$env{VCArch};$penv{PATH}"
|
|
},
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_PREFIX_PATH": "$env{aqt_path}/$env{qt_version}/msvc2019_64",
|
|
"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": "linux-debug",
|
|
"displayName": "ScreenPlay 64bit Debug Linux",
|
|
"description": "Linux only!",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_4_1_GCC",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
},
|
|
"environment" : {
|
|
"aqt_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{aqt_path}/6.4.1/gcc_64",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_TARGET_TRIPLET": "x64-linux"
|
|
}
|
|
},
|
|
{
|
|
"name": "osx-debug",
|
|
"displayName": "ScreenPlay 64bit Debug osx",
|
|
"description": "Osx only!",
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/../build_ScreenPlay_Qt_6_3_2_Clang",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
},
|
|
"environment" : {
|
|
"aqt_path": "${sourceDir}/../aqt"
|
|
},
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_PREFIX_PATH": "$env{aqt_path}/6.3.2/macos",
|
|
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/../vcpkg/scripts/buildsystems/vcpkg.cmake"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "linux-debug",
|
|
"configurePreset": "linux-debug"
|
|
},
|
|
{
|
|
"name": "windows-debug",
|
|
"configurePreset": "windows-debug"
|
|
},
|
|
{
|
|
"name": "osx-debug",
|
|
"configurePreset": "osx-debug"
|
|
}
|
|
]
|
|
}
|