Hi Brandon thanks for your help
problem with ADD_CUSTOM_TARGET is that runs allways even when it generate
files are up to date.

Quoted From Cmake docs:

Adds a target with the given name that executes the given commands. The
target has no output file and is ALWAYS CONSIDERED OUT OF DATE even if the
commands try to create a file with the name of the target.

In my case now the commands that generated the files now run tow times. I
now trying with ADD_CUSTOM_COMMAND(TARGET foo PRE_BUILD) with out success at
this point.




On Jan 21, 2008 2:41 PM, Brandon Van Every <[EMAIL PROTECTED]> wrote:

> On Jan 21, 2008 8:39 AM, Brandon Van Every <[EMAIL PROTECTED]> wrote:
> >
> >  then ADD_DEPENDENCIES(mylib DEPENDS blah).
>
> Er, add_dependencies(mylib blah).
>
>
> Cheers,
> Brandon Van Every
> _______________________________________________
> CMake mailing list
> CMake@cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to