[CMake] What is the preferred method of establishing the dependence of a custom command on an executable target?

Bill Hoffman bill.hoffman at kitware.com
Tue Apr 10 10:30:33 EDT 2007


Brandon J. Van Every wrote:
>>
>> That will make sure the DOIT_EXE is built before the command is run.  
>
> I would swear that once upon a time, that was not true.  The DEPENDS 
> was a file level dependency.  It would not trigger a target level 
> dependency.
>
I think there was a version that was out at some point where there was a 
bug.   But at least in 2.4.6 and into the future this will create a 
target level dependency. That is why I posed the correction.
>
> It's a wiki, so you could.  Are you saying you want someone else to?
>
I have updated it.

-Bill


More information about the CMake mailing list