[CMake] XCODE_DEPEND_HELPER dependency issues

Nicolas Tisserand nicolas.tisserand at gmail.com
Fri Dec 21 09:31:23 EST 2007


On Dec 21, 2007 3:19 PM, James Bigler <bigler at cs.utah.edu> wrote:
>
> On Dec 21, 2007, at 7:09 AM, David Cole wrote:
>
> > What do you mean when you say LIB2 depends on EXE1...?
> >
> > Does EXE1 generate some code that is built into LIB2 or is it
> > something
> > else? Normally libs don't depend on exes in the CMake TARGET sense...
> >>
>
>
> According to the original email, exe1 generates code for lib2:

Yes, EXE1 stands for a tool that generate c++ code from data files.
This C++ code is then compiled and linked in LIB2.

But when this extra dependency is removed, the problem still remains
with the ALL_BUILD target:
Xcode decides to build EXE1 before LIB2 and EXE2, and runs the
XCODE_DEPEND_HELPER rule too early for EXE2 to be relinked.

-- 
Nicolas


More information about the CMake mailing list