[CMake] dependency checking

Alexander Neundorf a.neundorf-work at gmx.net
Thu Aug 9 13:49:53 EDT 2007


On Thursday 09 August 2007 13:32, you wrote:
> Hi Bill,
>
> I ran a test and figured out what is triggering the problem.  The
> problem is that I have SET_SOURCE_FILES_PROPERTIES which operates on
> ${SRCS}.  By adding to ${SRCS} it triggers the rebuild of all of the
> files listed, and not just of the one I added.
>
> If I comment out SET_SOURCE_FILES_PROPERTIES, I can add or remove files
> from ${SRCS} without retriggering costly rebuilds.
...
> SET_SOURCE_FILES_PROPERTIES (
>   ${SRCS}
>   COMPILE_FLAGS "-Wall"
> )

I didn't test, but here the PROPERTIES keyword is missing. Is it just a copy'n 
paste error or does it still happen if you insert it ?

Alex


More information about the CMake mailing list