C++程序构建工具

depot_tools

gyp

Linux

1
2
3
export GYP_GENERATORS=make,ninja
make
ninja -C out/Default

Windows

1
2
set GYP_MSVS_VERSION=2015
set GYP_GENERATORS=msvs,ninja

gyp支持的本地构建工具有:
cmake,eclipse,make,msvs,ninja,xcode

在windows下让cmake生成makefile必须用gnu makefile。

参考

Hello GYP
Hello Ninja
Hello CMake