forked from pytorch/cpuinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
63 lines (63 loc) · 1.79 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "x64-uwp",
"displayName": "x64(uwp)",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"binaryDir": "${sourceDir}/build/x64-uwp",
"installDir": "${sourceDir}/install",
"cacheVariables": {
"CPUINFO_BUILD_UNIT_TESTS": false,
"CPUINFO_BUILD_MOCK_TESTS": false,
"CPUINFO_BUILD_BENCHMARKS": false,
"CMAKE_SYSTEM_NAME": "WindowsStore",
"CMAKE_SYSTEM_VERSION": "10.0",
"CMAKE_SYSTEM_PROCESSOR": "x86_64"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "arm64-uwp",
"displayName": "arm64(uwp)",
"inherits": "x64-uwp",
"architecture": "ARM64",
"binaryDir": "${sourceDir}/build/arm64-uwp",
"cacheVariables": {
"CMAKE_SYSTEM_PROCESSOR": "ARM64"
}
}
],
"buildPresets": [
{
"name": "x64-uwp-dbg",
"configurePreset": "x64-uwp",
"configuration": "Debug"
},
{
"name": "x64-uwp-rel",
"configurePreset": "x64-uwp",
"configuration": "Release"
},
{
"name": "arm64-uwp-dbg",
"configurePreset": "arm64-uwp",
"configuration": "Debug"
},
{
"name": "arm64-uwp-rel",
"configurePreset": "arm64-uwp",
"configuration": "Release"
}
]
}