esp-idf-notes

Notes for esp idf, cmake, make and kconfig

View on GitHub

CMake

CMake is an extensible, open-source system that manages the build process in an operating system and in a compiler-independent manner.

Content

Well Cmake is a build system generator which is used to generate projects over different platforms whether its be Linux, MacOS or Windows. Cmake is known as build system generator because it can generate projects using different available compilers like GCC , Clang and MSVC. CMake is able to do so because it has its own domain specific language (DSL) which allows us to generate platform-native build systems with the same set of CMake scripts. CMake scripts are always written in a file named as CMakeLists.txt . The CMake software toolset gives developers full control over the whole life cycle of a given project: