[Cmake] Custom Commands

Brad King brad.king at kitware.com
Wed May 15 20:04:14 EDT 2002


Kevin,

> Thanks Brad, I put the SET_SOURCE_FILE_PROPERTIES after the
> SOURCE_FILES and added the .cpp extension to both and it seems to work
> fine.

Glad to hear that you got it working.  You can also fix the ordering
problem like this:

SOURCE_FILES(FILES non-generated files ... 
             GENERATED generated files ...)

Then you don't need the SET_SOURCE_FILE_PROPERTIES at all.

-Brad




More information about the CMake mailing list