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