September 2018
Intermediate to advanced
606 pages
14h 32m
English
Ideally, we should avoid platform-dependent source code, but sometimes we have no choice – particularly when we are given code to configure and compile that we have not written ourselves. In this recipe, we will demonstrate how to use CMake to conditionally compile source code depending on the OS.
Read now
Unlock full access