[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] build order
From:       Owen Hogarth II <gurenchan () gmail ! com>
Date:       2015-12-19 15:51:20
Message-ID: CALM2mEkUcMB1zxwTNP5qmWbh155LbGyJVmf2DVqG1MoYgc=6WA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi David

Thank you for the response, I thought that I was doing something wrong. I
mean it's documented and I followed the docs as close as possible to write
my scripts but there's literally no mention about how to solve this
external/ internal project setup in the official docs.

I saw some things online but I honestly it seemed overly complicated and
really prone to breaking.

I'll edit my project to make them all external projects and work from that
angle.

Thanks

On Sat, Dec 19, 2015 at 9:18 PM, David Cole <DLRdave@aol.com> wrote:

> Build the second thing as an ExternalProject, too, and use the DEPENDS
> keyword to make it build after the first thing.
>
> Don't try to mix-and-match external projects and non-external projects in
> the same CMake configure... It's just too much work to get things working
> in a reasonable cross-platform way. It's possible, but certainly not easy.
>
>
> David
>
>
> > On Dec 18, 2015, at 3:29 PM, Owen Hogarth II <gurenchan@gmail.com>
> wrote:
> >
> > If you download, compile and install a cmake project through external
> project
> >
> > How can I make sure that the external project is built before something
> that depends on that external project?
> > --
> >
> > Powered by www.kitware.com
> >
> > Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> >
> > Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
> >
> > CMake Support: http://cmake.org/cmake/help/support.html
> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
> > CMake Training Courses: http://cmake.org/cmake/help/training.html
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/cmake
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi David<div><br></div><div>Thank you for the response, I thought that \
I was doing something wrong. I mean it&#39;s documented and I followed the docs as \
close as possible to write my scripts but there&#39;s literally no mention about how \
to solve this external/ internal project setup in the official \
docs.</div><div><br></div><div>I saw some things online but I honestly it seemed \
overly complicated and really prone to breaking.</div><div><br></div><div>I&#39;ll \
edit my project to make them all external projects and work from that \
angle.</div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Sat, Dec 19, 2015 at 9:18 PM, David Cole <span \
dir="ltr">&lt;<a href="mailto:DLRdave@aol.com" \
target="_blank">DLRdave@aol.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Build the second thing as an ExternalProject, too, and use \
the DEPENDS keyword to make it build after the first thing.<br> <br>
Don&#39;t try to mix-and-match external projects and non-external projects in the \
same CMake configure... It&#39;s just too much work to get things working in a \
reasonable cross-platform way. It&#39;s possible, but certainly not easy.<br> <br>
<br>
David<br>
<span class=""><br>
<br>
&gt; On Dec 18, 2015, at 3:29 PM, Owen Hogarth II &lt;<a \
href="mailto:gurenchan@gmail.com">gurenchan@gmail.com</a>&gt; wrote:<br> &gt;<br>
&gt; If you download, compile and install a cmake project through external \
project<br> &gt;<br>
&gt; How can I make sure that the external project is built before something that \
depends on that external project?<br> </span>&gt; --<br>
&gt;<br>
&gt; Powered by <a href="http://www.kitware.com" rel="noreferrer" \
target="_blank">www.kitware.com</a><br> &gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a \
href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" \
target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br> &gt;<br>
&gt; Kitware offers various services to support the CMake community. For more \
information on each offering, please visit:<br> &gt;<br>
&gt; CMake Support: <a href="http://cmake.org/cmake/help/support.html" \
rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br> \
&gt; CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" \
rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br> \
&gt; CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" \
rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br> \
&gt;<br> &gt; Visit other Kitware open-source projects at <a \
href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> &gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" \
target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br> \
</blockquote></div><br></div>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic