*Prerequiste
-
download ninja & gn for your platform and setting proper search path for execute ninja and gn. ninja : https://github.com/ninja-build/ninja/releases
gn linux : https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest gn macOS : https://chrome-infra-packages.appspot.com/dl/gn/gn/mac-amd64/+/latest gn Windows : https://chrome-infra-packages.appspot.com/dl/gn/gn/windows-amd64/+/latest -
download source code e.g. git clone https://github.com/fantasialin/cpp_sandbox.git
*build steps
- cd cpp_sandbox
- gn gen out
- ninja -C out