[CMake] PRE_BUILD custom commands don't appear to be working....

Bill Hoffman bill.hoffman at kitware.com
Fri Dec 14 09:15:49 EST 2007


Josef Karthauser wrote:
> I don’t suppose anyone had any thought on this one did they?
> 
>  
http://www.cmake.org/HTML/Documentation.html

ADD_CUSTOM_COMMAND: Add a custom build rule to the generated build system.
....
Note that the PRE_BUILD option is only supported on Visual Studio 7 or 
later. For all other generators PRE_BUILD will be treated as PRE_LINK.
....


We have tried, and this is next to impossible to do with a makefile, 
sorry...


-Bill


More information about the CMake mailing list