[CMake] add_custom_target and output file dependencies

Clifford Yapp cliffyapp at gmail.com
Thu Feb 10 13:09:31 EST 2011


Yep, that looks like it will work - thanks!

CY

On Thu, Feb 10, 2011 at 11:21 AM, David Cole <david.cole at kitware.com> wrote:
> Sorry. Correction here... Make that:
>
>   COMMAND ${CMAKE_COMMAND} -E touch
> ${CMAKE_CURRENT_BINARY_DIR}/${targetprefix}.sentinel
>
> (The "touch" is the rather important part of that command line....)


More information about the CMake mailing list