'Qt Creator's cmake-project and his model

QT Creator has an option to create projects UML-model: File->NewProject/File->Model->Diagram/Model. Is there a reason to add the file with model into c-make project? What kind of CMakeLists.txt section must hold those files? Now I'm putting it into MyProject/doc/ directory and adding a reference into PROJECT_SOURCES inside of CMakeLists.txt section. I've find too few of information about this usage of QtCreator.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source