File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,8 @@ If set, skips building the msi's and installer
80
80
If set, debug information will be generated for the builds.
81
81
82
82
. PARAMETER EnableCaching
83
- If true, use `sccache` to cache the build rules.
84
-
85
- . PARAMETER Cache
86
- The path to a directory where the `sccache` stores the cache. By default, it will point to `$BinaryCache\sccache`.
83
+ If true, use `sccache` to cache the build rules. Configuration of sccache must be done through
84
+ the environment variables defined by the sccache project.
87
85
88
86
. PARAMETER Clean
89
87
If true, clean non-compiler builds while building.
@@ -170,7 +168,6 @@ param
170
168
[switch ] $EnableCaching ,
171
169
[ValidateSet (" debug" , " release" )]
172
170
[string ] $FoundationTestConfiguration = " debug" ,
173
- [string ] $Cache = " " ,
174
171
[switch ] $Summary ,
175
172
[switch ] $ToBatch
176
173
)
@@ -1203,11 +1200,6 @@ function Build-CMakeProject {
1203
1200
Invoke-VsDevShell $Platform
1204
1201
}
1205
1202
1206
- if ($EnableCaching ) {
1207
- $env: SCCACHE_DIRECT = " true"
1208
- $env: SCCACHE_DIR = " $ ( if ($Cache ) { $Cache } else { " $BinaryCache \sccache" }) "
1209
- }
1210
-
1211
1203
# Add additional defines (unless already present)
1212
1204
$Defines = $Defines.Clone ()
1213
1205
You can’t perform that action at this time.
0 commit comments