https://github.com/cgqaq/gn-build
Build the latest & best `GN-build-system` and `ninja` from source, and give you the wrapper(in python) to call it
https://github.com/cgqaq/gn-build
build-from-source gn gn-build ninja ninja-build
Last synced: 3 months ago
JSON representation
Build the latest & best `GN-build-system` and `ninja` from source, and give you the wrapper(in python) to call it
- Host: GitHub
- URL: https://github.com/cgqaq/gn-build
- Owner: CGQAQ
- License: bsd-3-clause
- Created: 2023-05-17T01:31:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-17T09:10:55.000Z (about 2 years ago)
- Last Synced: 2025-02-15T14:56:40.712Z (3 months ago)
- Topics: build-from-source, gn, gn-build, ninja, ninja-build
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# gn-build
Build the latest & greatest `GN-build-system` and `ninja` from source, and give you the wrapper to call it## Official references
- [The reference](https://gn.googlesource.com/gn/+/main/docs/reference.md)
- [The repo](https://gn.googlesource.com/gn/)
- [The presentation](https://docs.google.com/presentation/d/15Zwb53JcncHfEwHpnG_PoIbbzQ3GQi_cpujYwbpcbZo/edit)## prerequisites
- python3## HOWTO
```console
git clone --recurse-submodules [email protected]:CGQAQ/gn-build.git
# git clone --recurse-submodules https://github.com/CGQAQ/gn-build.git# On Windows
# run gn
python gn.py ...gnargs
# run ninja
python ninja.py ...ninjaargs# On nonWindows
# run gn
python3 gn.py ...gnargs
# run ninja
python3 ninja.py ...ninjaargs
# ------------- OR ---------------
chmod +x ./gn.py ./ninja.py
# run gn
./gn.py ...gnargs
# run ninja
./ninja.py ...ninjaarg
```