[CMake] dependency in custom command?

Tyler Roscoe tyler at cryptio.net
Sat Aug 29 11:26:45 EDT 2009


On Fri, Aug 28, 2009 at 05:19:19PM -0700, King, Steven R wrote:
> OK, my CMakeLists.txt is growing rapidly.  :^(

Welcome to the clube :).

> All I've managed to do is cause the module to be copied every time.

Use -E copy_if_different.

Also, give some serious thought to the other replies in this thread.
Custom copy rules can quickly grow to become a pain, whereas the One
Results Directory To Rule Them All strategy is simple and quick.

tyler


More information about the CMake mailing list