使用python编写生成工具替换。
faff的Python项目详细描述
faff是用python编写的make构建工具替代品。类似的输入文件 到Makefile定义用于更新任意目标的规则 文件或其他规则依赖项。
安装
使用pip安装和/或升级。
$ pip install -U faff
快速启动
编译并执行一个c hello world程序。创建填充有 来自gcc_hello_world示例的文件。该示例假设gcc 命令在系统路径中可用,并为主机编译源文件 站台。
$ mkdir -p gcc_hello_world $ cd gcc_hello_world $ # Copy example files.
运行输入文件的默认规则。类似于make,运行faff 将运行all默认规则。
$ faff faff: gcc gcc_hello_world/main.c -o gcc_hello_world/build/main faff: main Hello, world! faff: `all` updated (1/1 0.694s)