[CMake] Re: How to integrate 3rd-party software into cmake system
    Jack Kelly 
    endgame.dos at gmail.com
       
    Sun Jun 10 00:23:18 EDT 2007
    
    
  
Clark J. Wang wrote:
>     Clark J. Wang wrote:
>      > Another question:
>      >
>      > By default `make clean' does not know how to clean the 3rd-party
>      > package. How can I add another command which will be run by `make
>     clean'?
>      >
Have you tried:
ADD_CUSTOM_COMMAND(
   TARGET clean
   POST_BUILD
   COMMAND make
   ARGS clean
   WORKING_DIR dir
   VERBATIM
)
? I haven't, but it looks like it _should_ work.
-- Jack
    
    
More information about the CMake
mailing list