Have you ever asked yourself where or how the programming language is specified in CMake for your project? Check the above from scratch!
CMake is a build system generator and a single CMakeLists.txt can be used to configure projects for different toolstacks on different platforms. You describe in CMakeLists.txt the operations the build system will have to run to get your code configured and compiled. Based on these instructions, CMake will generate the corresponding instructions for the chosen build system (Unix Makefiles, Ninja, Visual Studio, and so on.
Adapted from:
https://www.amazon.com/CMake-Cookbook-Building-packaging-software/dp/1788470710
Git repository: [email protected]:general-digits/cmake_tutorial.git
Discord: https://discord.com/invite/cdVzfH4s
Twitter: https://twitter.com/EmbeddedRoom
Youtube: https://www.youtube.com/channel/UC1NXWFc3SqDH5suBype2RQA?sub_confirmation=1
#cmake #compiler #programming
Download
0 formats
No download links available.
CMake Tutorial 2 - Specifying the language for your project | NatokHD