Fuchsia中GN与Ninja构建过程
作者:互联网
# sudo apt-get install clang ninja-build re2c cmake
# git clone git@github.com:MeekJeen/GN.git
# cd GN
# python3 build/gen.py //本目录下生成out目录
# ninja -C out //生成gn
# cd examples/simple_build
# ../../out/gn gen out/default //编译生成.ninja文件
# ../../out/gn args --list out/default //显示参数
# ninja -C out/default -v //ninja使用.ninja脚本编译生成可执行程序
# cd out/default
# ./hello
Hello, world
标签:Ninja,..,default,Fuchsia,cd,ninja,GN,out 来源: https://blog.csdn.net/u010164190/article/details/104905195