[CMake] Can multiple make commands be set in BUILD_COMMAND for ExternalProject_Add?

Michael Wild themiwi at gmail.com
Wed Jul 4 03:35:46 EDT 2012


On 07/04/2012 08:37 AM, hce wrote:
> Hi,
> 
> In ExternalProject_Add, "BUILD_COMMAND make" works fine, but I need to add
> multiple make commands. In Linux command line I can type "make && make
> extra", but how can I set following BUILD_COMMAND for multiple make
> commands, it just not working?
> 
> BUILD_COMMAND make && make extra
> INSTALL_COMMAND make install && make extra-install
> 
> Thank you.
> 
> Kind regards,
> 
> Jupiter
> 

What's wrong with?

BUILD_COMMAND make all extra
INSTALL_COMMAND make install extra-install


HTH

Michael


More information about the CMake mailing list