A description of the syntax in CMake can be found in the CMake Tutorial. A glance at the available commands in the command reference and at generator expressions might also be helpful.
MeVisLab comes with some useful CMake functions that handle some repeated or error-prone tasks. They are listed later in this document.
In a later chapter there are also some hints what to do when old .pro files shall be manually migrated to CMake files or how to fix some of the things the automatic converter does not get right.
© 2026 MeVis Medical Solutions AG