September 2018
Intermediate to advanced
606 pages
14h 32m
English
Now that we have the sources in place, our goal will be to configure the project and experiment with compiler flags:
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(recipe-08 LANGUAGES CXX)
message("C++ compiler flags: ${CMAKE_CXX_FLAGS}")
list(APPEND flags "-fPIC" "-Wall")if(NOT WIN32) list(APPEND flags "-Wextra" "-Wpedantic")endif()
Read now
Unlock full access