-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakePresets.json
119 lines (119 loc) · 3.7 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"version": 2,
"configurePresets": [
{
"name": "linux",
"displayName": "Linux Debug",
"description": "Target the Windows Subsystem for Linux (WSL) or a remote Linux system.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"COPROTO_ASAN": "ON",
"COPROTO_FETCH_AUTO": "ON",
"COPROTO_ENABLE_BOOST": "ON",
"COPROTO_ENABLE_OPENSSL": false,
"COPROTO_CPP_VER": "20",
"VERBOSE_FETCH": true,
"MACORO_GIT_TAG": null,
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Linux"
]
},
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}",
"copySourcesOptions": {
"exclusionList": [ ".vs", "out/build", "out/install", "out/boost*" ]
},
"rsyncCommandArgs": [ "-t", "--delete", "--include=${sourceDir}/out/macoro/*", "--verbose" ]
}
}
},
{
"name": "x64-Debug",
"displayName": "Windows x64 Debug",
"description": "Target Windows with the Visual Studio development environment.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"COPROTO_FETCH_AUTO": true,
"COPROTO_ENABLE_BOOST": true,
"COPROTO_ENABLE_OPENSSL": true,
"COPROTO_SOCK_LOGGING": true,
"COPROTO_ASAN": true,
"COPROTO_CPP_VER": "20",
"VERBOSE_FETCH": true,
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"_CMAKE_PREFIX_PATH": "C:/OpenSSL-Win64",
"_OPENSSL_ROOT_DIR": "C:/OpenSSL-Win64"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
}
},
{
"name": "x64-Release",
"displayName": "Windows x64 Release",
"description": "Target Windows with the Visual Studio development environment.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"COPROTO_FETCH_AUTO": "ON",
"COPROTO_ENABLE_BOOST": true,
"COPROTO_ENABLE_OPENSSL": true,
"COPROTO_CPP_VER": "20",
"VERBOSE_FETCH": true,
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
}
},
{
"name": "osx",
"displayName": "Custom configure preset",
"description": "Sets Ninja generator, build and install directory",
"generator": "Xcode",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"COPROTO_FETCH_AUTO": "ON",
"COPROTO_ENABLE_BOOST": true,
"COPROTO_ENABLE_OPENSSL": true,
"COPROTO_CPP_VER": "20",
"VERBOSE_FETCH": true,
"CMAKE_PREFIX_PATH": "/usr/local/opt/openssl",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"macOS"
]
}
}
}
]
}