-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme.md: rework build instructions
This commit's primary goals are to remove duplication in build instructions, and to reduce the total time spent compiling when following the instructions: - Recommend using Ninja with CMake, the compilation time is 11% faster with Ninja on my machine. - Recommend shallow fetches to speed up downloads. - Reduce repetition of build instructions across platforms by documenting a step-by-step compilation approach with shared steps between OSes. - Recommend shorter, standard CMake flags (`-B` and `--build`) instead of calling the generated build system directly and working around its limitations. - Syntax highlight Shell examples. - Let Ninja figure out the job count. A cursory look at its source code indicates it takes more than just core count into account, it also understands CGroups and processor affinities. - Fix lack of commas where necessary in the lines we've modified. - Break up lines over 80 characters in the parts of the text we've modified. This doesn't affect presentation in Markdown. - Title the Windows uninstall instructions "Microsoft Windows uninstall" to avoid having multiple sections named "Microsoft Windows," as it would prevent linking all but the first.
- Loading branch information
Showing
1 changed file
with
111 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters