C语言开发 之 编译工具(二)

欢迎来到编译的世界!

CMake

1
CMake is an open-source, cross-platform family of tools designed to build, test and package software
  • CMake + CMakeLists.txt = makefile

  • make + makefile = 编译

Ninja

1
2
3
4
5
Ninja is a small build system with a focus on speed.

It differs from other build systems in two major respects:
(1) it is designed to have its input files generated by a higher-level build system,
(2) and it is designed to run builds as fast as possible.
  • CMake + CMakeLists.txt = build.ninja

  • ninja + build.ninja = 更快速的编译

Kconfig

1
Configuration options (often called symbols) are defined in Kconfig files, which also specify dependencies between symbols that determine what configurations are valid

参考