This repository was archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeSettings.json
More file actions
84 lines (84 loc) · 3.06 KB
/
Copy pathCMakeSettings.json
File metadata and controls
84 lines (84 loc) · 3.06 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
77
78
79
80
81
82
83
84
// Though in most cases these kinds of user preference files should not be included in version control,
// especially in a public repository, I realized that you may find this useful when opening this
// project with Visual Studio being that the default CMakeSettings.json file generated by VS is for Ninja.
// Currently it looks like intellisense only works for MSBuild projects/generators, which are used here.
// You may want to locally ignore this file to prevent accidentally committing preference changes should
// you make some to this file (you should).
{
"environments": [
{
// Please point this to your own vcpkg path
"CMAKE_TOOLCHAIN_FILE": "C:/Code/Libraries/vcpkg/scripts/buildsystems/vcpkg.cmake"
}
],
"configurations": [
{
"name": "x86-Debug",
"generator": "Visual Studio 15 2017",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x86" ],
"buildRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/build/${name}",
"installRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/install/${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-m -v:minimal",
"ctestCommandArgs": "",
"variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${env.CMAKE_TOOLCHAIN_FILE}"
}
]
},
{
"name": "x86-Release",
"generator": "Visual Studio 15 2017",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x86" ],
"buildRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/build/${name}",
"installRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/install/${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-m -v:minimal",
"ctestCommandArgs": "",
"variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${env.CMAKE_TOOLCHAIN_FILE}"
}
]
},
{
"name": "x64-Debug",
"generator": "Visual Studio 15 2017 Win64",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/build/${name}",
"installRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/install/${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-m -v:minimal",
"ctestCommandArgs": "",
"variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${env.CMAKE_TOOLCHAIN_FILE}"
}
]
},
{
"name": "x64-Release",
"generator": "Visual Studio 15 2017 Win64",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/build/${name}",
"installRoot": "${env.USERPROFILE}/CMakeBuilds/${workspaceHash}/install/${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-m -v:minimal",
"ctestCommandArgs": "",
"variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${env.CMAKE_TOOLCHAIN_FILE}"
}
]
}
]
}