[CMake] Adding QML files to project in CMakeLists.txt

Andreas Pakulat apaku at gmx.de
Thu Apr 12 03:38:05 EDT 2012


On 12.04.12 03:25:35, Arjun Basu wrote:
> Hello,
> 
> I am Arjun. I have used cmake in the process of building many packages in
> Linux but I am new to writing CMakeLIsts.txt file for my projects. I have a
> Qt Quick project for which I wish to use cmake. I was wondering if adding
> QML files to projects is supported in cmake. I googled for it but didn't
> get any helpful results.

Since QML files are not compiled this doesn't make much sense. If you
want to copy them from the source to the builddir so you can run your
qml-app from the builddir simply use a custom-command or configure_file.

Andreas



More information about the CMake mailing list