[CMake] ADD_CUSTOM_COMMAND issues

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jul 13 10:36:00 EDT 2007


On Friday 13 July 2007 10:16, Brandon Van Every wrote:
...
> I've noted the following weird behavior on the MinGW generator,
> executing under a Windows 2000 command prompt.  I do not have ctags
> installed on my system.  Running from a pristine out-of-source build
> directory, the 1st time I execute "mingw32-make", I get errors as I
> would expect.  The 2nd time, I don't. 

The command is POST_BUILD, i.e. after the target has been built. In the second 
run the target doesn't get rebuilt, so also the command which comes after 
building isn't executed, since building didn't happen.

Alex


More information about the CMake mailing list