[CMake] Re: Custom build step
pepone.onrez
pepone.onrez at gmail.com
Mon Jan 21 11:14:42 EST 2008
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 <bvanevery at gmail.com> wrote:
> On Jan 21, 2008 8:39 AM, Brandon Van Every <bvanevery at gmail.com> wrote:
> >
> > then ADD_DEPENDENCIES(mylib DEPENDS blah).
>
> Er, add_dependencies(mylib blah).
>
>
> Cheers,
> Brandon Van Every
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080121/d53c2427/attachment.htm
More information about the CMake
mailing list