Appveyor: enable clcache

This commit is contained in:
Abdullah Tahiri
2019-05-04 20:06:57 +02:00
committed by abdullahtahiriyo
parent 6a7649d2f0
commit cd418a6a11

View File

@@ -10,6 +10,7 @@ environment:
Compiler: "MSVC2013"
#cache: #
cache: c:\users\appveyor\clcache
configuration:
#- Debug
@@ -38,6 +39,9 @@ install:
powershell -Command 7z x FreeCADLibs_11.5.1_x86_VC12.7z > nul &&
ren FreeCADLibs_11.5_x86_VC12 FreeCADLibs)
- dir
- set PATH=c:\Python37;c:\Python37\Scripts;%PATH%
- pip install clcache
- clcache -s
build_script:
- cd C:\projects\freecad
@@ -48,7 +52,8 @@ build_script:
-G "%generator%" ..
- mkdir bin
- xcopy C:\projects\freecad\FreeCADLibs\bin C:\projects\freecad\build\bin /E /Q
- msbuild /m FreeCAD_Trunk.sln
- msbuild FreeCAD_Trunk.sln /p:CLToolExe=clcache.exe /p:CLToolPath=c:\Python37\Scripts\ /m
- clcache -s
#after_build:
- cd C:\projects\freecad\build\bin\