April 2020
Intermediate to advanced
412 pages
9h 58m
English
When switching between release and debug builds in a complex project, make sure that all the files were rebuilt properly. The easiest way to do this is by removing all the previous build files. When using make, this can be done by invoking the make clean command.
It can be added as part of the command line along with cmake and make:
cmake -DCMAKE_BUILD_TYPE=Debug && make clean && make
Combining all three commands into one line makes this more convenient for developers.