Skip to content

Commit

Permalink
Install ninja on Windows dev machines
Browse files Browse the repository at this point in the history
- as recommended by @kevinushey, dramatically improves speed of incremental builds
  • Loading branch information
gtritchie committed Jun 14, 2018
1 parent edaa34a commit 0e6ff53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies/windows/Install-RStudio-Prereqs.ps1
Expand Up @@ -154,7 +154,7 @@ refreshenv
# install some deps via chocolatey
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=""System""' --fail-on-error-output
refreshenv
choco install -y jdk8 ant windows-sdk-10.1 vcbuildtools 7zip git
choco install -y jdk8 ant windows-sdk-10.1 vcbuildtools 7zip git ninja

# fixups for Windows SDK
mv "C:\Program Files (x86)\Windows Kits\10\bin\x86" "C:\Program Files (x86)\Windows Kits\10\bin\x86_orig"
Expand Down
2 changes: 2 additions & 0 deletions dependencies/windows/README.md
Expand Up @@ -34,6 +34,8 @@ Build C++
- Open Qt Creator
- Open Project and select rstudio\src\cpp\CMakelists.txt
- Select the 64-bit kit (RStudio for Windows is 64-bit only)
- (Optional but recommended): Change the `CMake generator` for the kit to
`Ninja` for faster incremental builds
- Click Configure, then build

Run RStudio
Expand Down

0 comments on commit 0e6ff53

Please sign in to comment.