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
8080If set, debug information will be generated for the builds.
8181
8282. 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.
8785
8886. PARAMETER Clean
8987If true, clean non-compiler builds while building.
@@ -170,7 +168,6 @@ param
170168 [switch ] $EnableCaching ,
171169 [ValidateSet (" debug" , " release" )]
172170 [string ] $FoundationTestConfiguration = " debug" ,
173- [string ] $Cache = " " ,
174171 [switch ] $Summary ,
175172 [switch ] $ToBatch
176173)
@@ -1203,11 +1200,6 @@ function Build-CMakeProject {
12031200 Invoke-VsDevShell $Platform
12041201 }
12051202
1206- if ($EnableCaching ) {
1207- $env: SCCACHE_DIRECT = " true"
1208- $env: SCCACHE_DIR = " $ ( if ($Cache ) { $Cache } else { " $BinaryCache \sccache" }) "
1209- }
1210-
12111203 # Add additional defines (unless already present)
12121204 $Defines = $Defines.Clone ()
12131205
You can’t perform that action at this time.
0 commit comments