[CMake] Adding non-compiled files to project?

Mike Arthur mike at mikearthur.co.uk
Mon Jun 23 12:17:06 EDT 2008


On Monday 23 June 2008 16:36:53 Timenkov Yuri wrote:
> Just add them to corresponding target. CMake won't try to compile them if
> they don't have source file extension. If file has a source file extension,
> you should set source files property HEADER_FILE_ONLY to true: ex:
That seems to work great. 

The only problem I'm having now is how I apply source_group to files that are 
generated by other commands e.g. moc_* files from qt4_wrap_cpp

Thanks!

--
Cheers,
Mike Arthur


More information about the CMake mailing list