Debugging the migration

When gradually moving targets and commands to the CMake side, it will be useful to print values of variables using the message command:

message(STATUS "for debugging printing the value of ${some_variable}")

By adding options, targets, sources, and dependencies while debugging using message, we will inch our way towards a working build.

Get CMake Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.