-
Notifications
You must be signed in to change notification settings - Fork 449
/
CMakePresets.json
78 lines (78 loc) · 2.58 KB
/
CMakePresets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"version": 6,
"configurePresets": [
{
"name": "Debug",
"generator": "Ninja",
"binaryDir": "${sourceParentDir}/build/copyq/${presetName}",
"installDir": "${sourceParentDir}/install/copyq/${presetName}",
"cacheVariables": {
"WITH_TESTS": "TRUE",
"PEDANTIC": "TRUE",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache"
}
},
{
"name": "macOS-10",
"generator": "Ninja",
"binaryDir": "${sourceParentDir}/build/copyq/${presetName}",
"installDir": "${sourceParentDir}/build/copyq/${presetName}",
"cacheVariables": {
"WITH_QT6": "TRUE",
"WITH_TESTS": "TRUE",
"CMAKE_PREFIX_PATH": "/usr/local/opt/qt/lib/cmake",
"CMAKE_OSX_DEPLOYMENT_TARGET": "10.15",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_FLAGS": "-Wno-deprecated-declarations"
}
},
{
"name": "macOS-12-m1",
"generator": "Ninja",
"binaryDir": "${sourceParentDir}/build/copyq/${presetName}",
"installDir": "${sourceParentDir}/build/copyq/${presetName}",
"cacheVariables": {
"WITH_QT6": "TRUE",
"WITH_TESTS": "TRUE",
"CMAKE_PREFIX_PATH": "/usr/local/opt/qt/lib/cmake",
"CMAKE_OSX_DEPLOYMENT_TARGET": "12",
"CMAKE_OSX_ARCHITECTURES": "arm64",
"CMAKE_C_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
"CMAKE_CXX_FLAGS": "-Wno-deprecated-declarations"
}
}
],
"buildPresets": [
{
"name": "Debug",
"configurePreset": "Debug",
"configuration": "Debug",
"targets": "install"
},
{
"name": "macOS-10",
"configurePreset": "macOS-10",
"configuration": "Release",
"targets": "install"
},
{
"name": "macOS-12-m1",
"configurePreset": "macOS-12-m1",
"configuration": "Release",
"targets": "install"
}
],
"packagePresets": [
{
"name": "macOS-10",
"configurePreset": "macOS-10"
},
{
"name": "macOS-12-m1",
"configurePreset": "macOS-12-m1"
}
]
}