tag:help.appveyor.com,2012-11-13:/discussions/suggestions/864-update-cmake-version-to-34AppVeyor: Discussion 2018-08-25T02:01:35Ztag:help.appveyor.com,2012-11-13:Comment/383448062015-10-31T23:54:56Z2015-10-31T23:54:56ZUpdate CMake version to 3.4<div><p>I've added a new task to install CMake on all build workers.</p>
<p>In the meantime you can use this simple script to install CMake
3.4 during the build:</p>
<pre>
<code>Write-Host "Installing CMake 3.4.0 ..." -ForegroundColor Cyan
$exePath = "$($env:USERPROFILE)\cmake-3.4.0-rc2-win32-x86.exe"
Write-Host "Downloading..."
(New-Object Net.WebClient).DownloadFile('https://cmake.org/files/v3.4/cmake-3.4.0-rc2-win32-x86.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait $exePath /S
cmake --version
Write-Host "CMake 3.4.0 installed" -ForegroundColor Green</code>
</pre></div>Feodor Fitsner