[CMake] build priority

Michael Hertling mhertling at online.de
Wed Sep 15 20:51:31 EDT 2010


On 09/16/2010 02:27 AM, Serghei Amelian wrote:
> Hi,
> 
> Is any way to tell cmake to build a target before beginning to start compiling 
> another one? For example, i need target "dcopidl" to be exists before 
> generating *.kidl files.

Use ADD_DEPENDENCIES() and the DEPENDS option of custom targets/commands.

Regards,

Michael


More information about the CMake mailing list