forked from remileonard/libRealSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
76 lines (76 loc) · 2.93 KB
/
Copy pathCMakePresets.json
File metadata and controls
76 lines (76 loc) · 2.93 KB
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
{
"version": 8,
"configurePresets": [
{
"name": "windows",
"displayName": "Visual Studio Community 2022 Release - x86_amd64",
"description": "Using compilers for Visual Studio 17 2022 (x86_x64 architecture)",
"generator": "Visual Studio 17 2022",
"toolset": "host=x86",
"architecture": "x64",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
}
},
{
"name": "linux",
"displayName": "GCC 13.2.0 x86_64-linux-gnu",
"description": "Using compilers: C = /usr/bin/gcc, CXX = /usr/bin/g++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/gcc",
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
"CMAKE_MAKE_PROGRAM": "/usr/bin/make",
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux_clang",
"displayName": "Clang 18.1.3 x86_64-pc-linux-gnu",
"description": "Using compilers: C = /usr/bin/clang, CXX = /usr/bin/clang++",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
"CMAKE_C_COMPILER": "/usr/bin/clang",
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
"CMAKE_BUILD_TYPE": "Debug"
}
}
],
"buildPresets": [
{
"name": "windows-debug",
"displayName": "Visual Studio Community 2022 Release - x86_amd64 - Debug",
"configurePreset": "windows",
"configuration": "Debug",
"jobs": 8
},
{
"name": "Release",
"description": "",
"displayName": "Visual Studio Community 2022 Release - x86_amd64 - Release",
"configurePreset": "windows",
"configuration": "Release",
"jobs": 8
},
{
"name": "linux-debug",
"displayName": "Linux GCC Debug",
"configurePreset": "linux",
"jobs": 8
},
{
"name": "linux-clang-debug",
"displayName": "Linux Clang Debug",
"configurePreset": "linux_clang",
"jobs": 8
}
]
}