September 2018
Intermediate to advanced
606 pages
14h 32m
English
This is a step-by-step breakdown of our three CMake files:
cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(recipe-05 LANGUAGES NONE)
# (re)defines include_guardinclude(cmake/include_guard.cmake)
macro(include_guard) if (CMAKE_VERSION VERSION_LESS "3.10") # for CMake below 3.10 we define our # own include_guard(GLOBAL) message(STATUS "calling our custom include_guard") # if this macro is called the first time # we start with an empty list if(NOT DEFINED ...
Read now
Unlock full access