Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 901 Bytes

File metadata and controls

34 lines (29 loc) · 901 Bytes

gn-build

Build the latest & greatest GN-build-system and ninja from source, and give you the wrapper to call it

Official references

prerequisites

  • python3

HOWTO

git clone --recurse-submodules git@github.com: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