[CMake] custom target not working on windows
Tyler Roscoe
tyler at cryptio.net
Fri Jul 31 11:21:12 EDT 2009
On Fri, Jul 31, 2009 at 11:14:39AM -0400, David Cole wrote:
> This is not a VS specific problem, but rather how Windows batch files behave
> in general.
>
> If an executable or batch file returns an error exit status, but the "call"
> keyword is not used in the calling batch file, then the calling batch file
> exits without executing the remainder of the script. Using the call keyword
> prevents that behavior and makes it work like you'd expect.
I have seen this behavior even when the batch file exits normally,
without error condition. This is in VS2005 if it matters.
tyler
More information about the CMake
mailing list