1
+ {
2
+ "version" : 2 ,
3
+ "configurePresets" : [
4
+ {
5
+ "name" : " base" ,
6
+ "displayName" : " Basic Config" ,
7
+ "description" : " Basic build using Ninja generator" ,
8
+ "generator" : " Ninja" ,
9
+ "hidden" : true ,
10
+ "binaryDir" : " ${sourceDir}/out/build/${presetName}" ,
11
+ "cacheVariables" : { "CMAKE_INSTALL_PREFIX" : " ${sourceDir}/out/install/${presetName}" }
12
+ },
13
+
14
+ {
15
+ "name" : " x64" ,
16
+ "architecture" : {
17
+ "value" : " x64" ,
18
+ "strategy" : " external"
19
+ },
20
+ "hidden" : true
21
+ },
22
+ {
23
+ "name" : " x86" ,
24
+ "architecture" : {
25
+ "value" : " x86" ,
26
+ "strategy" : " external"
27
+ },
28
+ "hidden" : true
29
+ },
30
+ {
31
+ "name" : " ARM64" ,
32
+ "architecture" : {
33
+ "value" : " arm64" ,
34
+ "strategy" : " external"
35
+ },
36
+ "hidden" : true
37
+ },
38
+
39
+ {
40
+ "name" : " Debug" ,
41
+ "cacheVariables" : { "CMAKE_BUILD_TYPE" : " Debug" },
42
+ "hidden" : true
43
+ },
44
+ {
45
+ "name" : " Release" ,
46
+ "cacheVariables" : { "CMAKE_BUILD_TYPE" : " RelWithDebInfo" },
47
+ "hidden" : true
48
+ },
49
+
50
+ {
51
+ "name" : " MSVC" ,
52
+ "hidden" : true ,
53
+ "cacheVariables" : {
54
+ "CMAKE_CXX_COMPILER" : " cl.exe"
55
+ },
56
+ "toolset" : {
57
+ "value" : " host=x64" ,
58
+ "strategy" : " external"
59
+ }
60
+ },
61
+ {
62
+ "name" : " Clang" ,
63
+ "hidden" : true ,
64
+ "cacheVariables" : {
65
+ "CMAKE_CXX_COMPILER" : " clang-cl.exe"
66
+ },
67
+ "toolset" : {
68
+ "value" : " host=x64" ,
69
+ "strategy" : " external"
70
+ }
71
+ },
72
+
73
+ { "name" : " x64-Debug" , "description" : " MSVC for x64 (Debug) - SSE/SSE2" , "inherits" : [ " base" , " x64" , " Debug" , " MSVC" ] },
74
+ { "name" : " x64-Release" , "description" : " MSVC for x64 (Release) - SSE/SSE2" , "inherits" : [ " base" , " x64" , " Release" , " MSVC" ] },
75
+ { "name" : " x86-Debug" , "description" : " MSVC for x86 (Debug) - SSE/SSE2" , "inherits" : [ " base" , " x86" , " Debug" , " MSVC" ] },
76
+ { "name" : " x86-Release" , "description" : " MSVC for x86 (Release) - SSE/SSE2" , "inherits" : [ " base" , " x86" , " Release" , " MSVC" ] },
77
+ { "name" : " arm64-Debug" , "description" : " MSVC for ARM64 (Debug) - ARM-NEON" , "inherits" : [ " base" , " ARM64" , " Debug" , " MSVC" ] },
78
+ { "name" : " arm64-Release" , "description" : " MSVC for ARM64 (Release) - ARM-NEON" , "inherits" : [ " base" , " ARM64" , " Release" , " MSVC" ] },
79
+
80
+ { "name" : " x64-Debug-Clang" , "description" : " Clang/LLVM for x64 (Debug) - SSE/SSE2" , "inherits" : [ " base" , " x64" , " Debug" , " Clang" ] },
81
+ { "name" : " x64-Release-Clang" , "description" : " Clang/LLVM for x64 (Release) - SSE/SSE2" , "inherits" : [ " base" , " x64" , " Release" , " Clang" ] },
82
+ { "name" : " x86-Debug-Clang" , "description" : " Clang/LLVM for x86 (Debug) - SSE/SSE2" , "inherits" : [ " base" , " x86" , " Debug" , " Clang" ], "environment" : { "CXXFLAGS" : " -m32" } },
83
+ { "name" : " x86-Release-Clang" , "description" : " Clang/LLVM for x86 (Release) - SSE/SSE2" , "inherits" : [ " base" , " x86" , " Release" , " Clang" ], "environment" : { "CXXFLAGS" : " -m32" } },
84
+ { "name" : " arm64-Debug-Clang" , "description" : " Clang/LLVM for AArch64 (Debug) - ARM-NEON" , "inherits" : [ " base" , " ARM64" , " Debug" , " Clang" ], "environment" : { "CXXFLAGS" : " --target=arm64-pc-windows-msvc" } },
85
+ { "name" : " arm64-Release-Clang" , "description" : " Clang/LLVM for AArch64 (Release) - ARM-NEON" , "inherits" : [ " base" , " ARM64" , " Release" , " Clang" ], "environment" : { "CXXFLAGS" : " --target=arm64-pc-windows-msvc" } }
86
+ ]
87
+ }
0 commit comments