Skip to content

Commit 514bc80

Browse files
Add install prefix to MacOS and Windows
1 parent d4f04f4 commit 514bc80

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

CMakePresets.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"YAML_CPP_FORMAT_SOURCE": "OFF",
4646
"YAML_BUILD_SHARED_LIBS": "OFF",
4747

48-
"USE_MASM": "OFF",
4948
"USE_GAS": "OFF",
5049

5150
"SPIRV_SKIP_EXECUTABLES": "ON",
@@ -65,7 +64,8 @@
6564
"binaryDir": "Result.Windows.x64.MultiConfig",
6665
"architecture": "x64",
6766
"cacheVariables": {
68-
"CMAKE_CONFIGURATION_TYPES": "Debug"
67+
"CMAKE_CONFIGURATION_TYPES": "Debug",
68+
"CMAKE_INSTALL_PREFIX": "Result.Windows.x64.MultiConfig"
6969
}
7070

7171
},
@@ -86,6 +86,7 @@
8686
"generator": "Xcode",
8787
"cacheVariables": {
8888
"BUILD_FRAMEWORK": "ON",
89+
"CMAKE_INSTALL_PREFIX": "Result.Darwin.x64.Debug",
8990
"CMAKE_CONFIGURATION_TYPES": "Debug"
9091
}
9192
},
@@ -96,6 +97,7 @@
9697
"binaryDir": "Result.Darwin.x64.Release",
9798
"cacheVariables": {
9899
"CMAKE_BUILD_TYPE": "Release",
100+
"CMAKE_INSTALL_PREFIX": "Result.Darwin.x64.Release",
99101
"CMAKE_CONFIGURATION_TYPES": "Release"
100102
}
101103
},
@@ -104,14 +106,20 @@
104106
"name": "Darwin_arm64_Debug",
105107
"inherits": "Darwin_x64_Debug",
106108
"binaryDir": "Result.Darwin.arm64.Debug",
107-
"displayName": "Darwin ARM XCode Debug"
109+
"displayName": "Darwin ARM XCode Debug",
110+
"cacheVariables": {
111+
"CMAKE_INSTALL_PREFIX": "Result.Darwin.arm64.Debug"
112+
}
108113
},
109114

110115
{
111116
"name": "Darwin_arm64_Release",
112117
"inherits": "Darwin_x64_Release",
113118
"binaryDir": "Result.Darwin.arm64.Release",
114-
"displayName": "Darwin ARM XCode Release"
119+
"displayName": "Darwin ARM XCode Release",
120+
"cacheVariables": {
121+
"CMAKE_INSTALL_PREFIX": "Result.Darwin.arm64.Release"
122+
}
115123
},
116124

117125
{

0 commit comments

Comments
 (0)