Skip to content

Instantly share code, notes, and snippets.

@colin-guyon
Last active August 2, 2018 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colin-guyon/f56ca75ebb9e3399b8b17f8a9b71b219 to your computer and use it in GitHub Desktop.
Save colin-guyon/f56ca75ebb9e3399b8b17f8a9b71b219 to your computer and use it in GitHub Desktop.
HOWTO build FASTBuild with itself
Tested on Windows 10:
- clone the https://github.com/fastbuild/fastbuild repo (or a fork...)
- download the fastbuild already-compiled binary at http://www.fastbuild.org/docs/download.html
- Create "directory junctions" in fastbuild/External/, like this:
D:\CMake_and_Fastbuild\fastbuild\External\SDK\VisualStudio>mklink /J 2017 "C:\Program Files (x86)\Microsoft Visual Studio\2017"
Junction created for 2017 <<===>> C:\Program Files (x86)\Microsoft Visual Studio\2017
D:\CMake_and_Fastbuild\fastbuild\External\SDK\Windows>mklink /J 10 "C:\Program Files (x86)\Windows Kits\10"
Junction created for 10 <<===>> C:\Program Files (x86)\Windows Kits\10
- Also modify .bff files in External\SDK\VisualStudio and External\SDK\Windows to reflect the current Visual Studio / MSCV setup on your PC
(modify version numbers and cl.exe, rc.exe paths etc..., because it can be different especially depending on the installed version of Visual Studio)
- cd fastbuild/Code
- <path_to_downloaded_FBuild.exe> ALL-x64-Debug
=> Should work and compile FBuild with FBuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment