<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV>I want to call the build target of an existing project that<BR>has an 
another build system.<BR><BR>Within CMakeLists.txt&nbsp;I can specify an 
ADD_CUSTOM_COMMAND<BR>that calls the build target of the other build system 
but<BR>how do&nbsp;I garantee that this is only executed during 
the<BR>build?<BR><BR>...and when I do call the clean target?</DIV>
<DIV>E.g.<BR>I want to call: "/bin/my_other_build_system build_all" in 
case&nbsp;I build my code with: make<BR>and: "/bin/my_other_build_system 
clean_everything" in case I build my code with: make clean<BR><BR>Another 
thingy, how do&nbsp;I setup the proper dependencies in my<BR>cmake project to 
the library that is produced by the my_other_build_system?</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Andre</FONT></DIV></FONT></DIV></BODY></HTML>