[CMake] verbose ADD_CUSTOM_TARGET

Jesper Eskilson jesper at eskilson.se
Thu Nov 29 17:37:26 EST 2007


James Bigler wrote:
> Is it possible to force a custom target to be verbose in makefile mode?  
> I know I can turn it on or off for a given project, but I want to do for 
> only a single target (a custom target, in fact).

If you're using GNU make you can use target-specific variables:
http://www.gnu.org/software/make/manual/make.html#Target_002dspecific

I'm not sure exactly how you can inject your own makefile variable 
assignments into your makefils from within CMake, but I'm sure others on 
this list can answer that.

-- 
/Jesper




More information about the CMake mailing list