-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakePresets.json
95 lines (95 loc) · 3.21 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"version": 6,
"configurePresets": [
{
"name": "windows-release",
"displayName": "Windows x64 Release",
"description": "Release build with optimizations and no debugging and tracing tools.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"ARCHIVE_NAME": "pointcaster_windows-release",
"VCPKG_OVERLAY_PORTS": "${sourceDir}/ports",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md-release",
"CMAKE_TOOLCHAIN_FILE": "/opt/vcpkg/scripts/buildsystems/vcpkg.cmake",
"CMAKE_BUILD_TYPE": "Release",
"WITH_POINTCASTER": true
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
}
},
{
"name": "windows-debug",
"inherits": "windows-release",
"displayName": "Windows x64 Debug",
"description": "Build with debug info",
"cacheVariables": {
"ARCHIVE_NAME": "pointcaster_windows-debug",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_PDB_OUTPUT_DIRECTORY": "${sourceDir}/build/${presetName}",
"CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "ProgramDatabase"
}
},
{
"name": "windows-release-profiling",
"inherits": "windows-release",
"displayName": "Windows x64 Release with performance profiling",
"description": "Release build with optimizations and tracing tools",
"cacheVariables": {
"ARCHIVE_NAME": "pointcaster_windows-release-profiling",
"WITH_TRACY": true
}
},
{
"name": "pointreceiver-windows-release",
"inherits": "windows-release",
"displayName": "PointReceiver Lib Windows x64 Release",
"description": "Build pointreceiver dll",
"cacheVariables": {
"ARCHIVE_NAME": "pointreceiver_windows-release",
"VCPKG_TARGET_TRIPLET": "x64-windows-static-md",
"WITH_POINTCASTER": false,
"WITH_RECEIVER_LIB": true,
"WITH_TESTS": true
}
},
{
"name": "pointreceiver-windows-debug",
"inherits": "pointreceiver-windows-release",
"displayName": "PointReceiver Lib Windows x64 Debug",
"description": "Build pointreceiver dll with debug info and tests",
"cacheVariables": {
"ARCHIVE_NAME": "pointreceiver_windows-debug",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "pointreceiver-android-armeabi-v7a",
"inherits": "pointreceiver-windows-release",
"displayName": "PointReceiver Lib Android armeabi-v7a",
"description": "Build libpointreceiver.so",
"cacheVariables": {
"ARCHIVE_NAME": "pointreceiver_android-armeabi-v7a",
"VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/triplets",
"VCPKG_TARGET_TRIPLET": "arm-android-dynamic",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_SYSTEM_NAME": "Android",
"CMAKE_ANDROID_ARCH_ABI": "armeabi-v7a",
"CMAKE_ANDROID_API": "29",
"CMAKE_ANDROID_NDK": "/opt/android",
"WITH_TESTS": false,
"RECEIVER_LIB_SHARED": true
}
}
]
}