[Cmake] ADD_DEPENDECIES

Andy Cedilnik andy . cedilnik at kitware . com
05 Nov 2003 09:13:59 -0500


Hi David,

You should really use ADD_CUSTOM_COMMAND. It is all described in
archives and in Mastering CMake pg. 80-85.

			Andy

On Wed, 2003-11-05 at 09:04, David Svoboda wrote:
> Hello,
> 
> I'd like to ask for any example of using ADD_DEPENDENCIES and
> ADD_CUSTOM_TARGET commands. Why? I need to create the dependency between
> source *.idl files (corba interafce) and generated *.hh and *.cc files in
> C/C++ language. These *.hh a *.cc files will be the source files needed
> for further compilation.
> 
> Thank you forward for your help!
> 
> David
> _______________________________________________
> Cmake mailing list
> Cmake at www . cmake . org
> http://www . cmake . org/mailman/listinfo/cmake