September 2016
Intermediate to advanced
989 pages
24h 10m
English
The GNU make system is a great tool when you build exclusively for Linux systems. However, some packages are multiplatform and need a way to manage Makefile files on different operating systems. CMake is a cross-platform build system that can work not only with GNU make, but also Microsoft Visual Studio and Apple's Xcode.
The CMake tool parses the CMakeLists.txt files in every directory to control the build process. An example CMakeLists.txt file to compile the hello world example follows:
cmake_minimum_required(VERSION 2.8.10) project(helloworld) add_executable(helloworld helloworld.c) install(TARGETS helloworld RUNTIME DESTINATION bin)
The Yocto build system also contains classes with ...
Read now
Unlock full access