[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] ExternalProject_Add ... output directy (sln file directory)
From: Christophe Demez <christophe.demez () luciad ! com>
Date: 2017-03-31 8:59:18
Message-ID: fd16686f-0829-3c22-adde-fee380edc3d3 () luciad ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Also,
I have try with a sample, just a main and a lib. But it seems that the
lib CMakeLists.txt file is not called !
The project is created, but it does not point to the source code by
example and the "message" are not displayed in the console too !
The download link :
https://www.dropbox.com/s/eto84gwtw2rx8oe/CMakeTest.zip?dl=0
<https://www.dropbox.com/s/c4z2x5tus245daj/CMakeTest.zip?dl=0>
On 30/03/2017 17:11, Christophe Demez wrote:
>
> BTW,
>
> I notice this too, if I use the following command line with an empty
> cmakelists.txt file : cmake -G "Visual Studio 15 2017 Win64"
>
> And it also generate the .sln (and other files) in the same folder,
> but I don't request to build such a solution ! right ?
>
> In reality, I only need a cmakelists.txt file that will build an
> external library for Android (Ninja generator, directly from
> AndroidStudio).
> For now I use the wrong generator for test.
>
>
> On 30/03/2017 16:20, David Cole wrote:
> > Do give it a BINARY_DIR, but do NOT give it a BUILD_COMMAND. Giving it
> > an empty BUILD_COMMAND means "do nothing" for the build step and using
> > "cmake --build ./LibraryBuild" does not work unless cmake is in your
> > PATH, and with a Visual Studio solution, you also need to specify
> > "--config Release" or "--config Debug"
> >
> > Also posted on SO.
> >
> >
> > HTH,
> > David C.
> >
> >
> >
> > On Thu, Mar 30, 2017 at 10:10 AM, Christophe Demez
> > <christophe.demez@luciad.com> wrote:
> > > Hi,
> > >
> > > I'm currently using one CMakeLists.txt file that will execute an external
> > > CMakeLists.txt (and dependency).
> > >
> > > For this I use the ExternalProject_Add command, but I can't find a way to
> > > specify where the ".sln" file will be generated.
> > >
> > > I have also created StackOverflow question here with more information, if
> > > someone have an idea for a solution ?
> > >
> > > http://stackoverflow.com/questions/43117117/cmake-use-externalproject-add-and-specify-the-output-folder
> > >
> > > Thanks
> > > --
> > >
> > > Powered bywww.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
>
> --
> Luciad Email Signature *Christophe Demez *
> PROJECT LEADER
>
> *LUCIAD* <http://www.luciad.com/> CONNECT • VISUALIZE • ANALYZE • ACT
>
> christophe.demez@luciad.com <mailto:christophe.demez@luciad.com> • T
> +32 16 23 95 91
> Follow us on LinkedIn <https://www.linkedin.com/company/luciad>or
> @LUCIADconnect <http://www.twitter.com/LUCIADconnect>
>
> Luciad
>
>
--
Luciad Email Signature *Christophe Demez *
PROJECT LEADER
*LUCIAD* <http://www.luciad.com/> CONNECT • VISUALIZE • ANALYZE • ACT
christophe.demez@luciad.com <mailto:christophe.demez@luciad.com> • T
+32 16 23 95 91
Follow us on LinkedIn <https://www.linkedin.com/company/luciad>or
@LUCIADconnect <http://www.twitter.com/LUCIADconnect>
Luciad
[Attachment #5 (multipart/related)]
[Attachment #7 (text/html)]
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p> Also,<br>
</p>
<p> <span class="comment-copy">I have try with a sample, just a
main and a lib. But it seems that the lib CMakeLists.txt file is
not called !</span></p>
<p><span class="comment-copy">The project is created, but it does
not point to the source code by example and the "message" are
not displayed in the console too !<br>
</span></p>
<p><span class="comment-copy">The download link : <br>
</span></p>
<p><span class="comment-copy"><a
href="https://www.dropbox.com/s/c4z2x5tus245daj/CMakeTest.zip?dl=0"
rel="nofollow \
noreferrer">https://www.dropbox.com/s/eto84gwtw2rx8oe/CMakeTest.zip?dl=0<br> \
</a></span></p> <br>
<div class="moz-cite-prefix">On 30/03/2017 17:11, Christophe Demez
wrote:<br>
</div>
<blockquote
cite="mid:91b8100c-2caf-6c29-46de-2a7b506b2b9f@luciad.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p>BTW,</p>
<p>I notice this too, if I use the following command line with an
empty cmakelists.txt file : cmake -G "Visual Studio 15 2017
Win64"</p>
<p>And it also generate the .sln (and other files) in the same
folder, but I don't request to build such a solution ! right ?<br>
</p>
<p>In reality, I only need a cmakelists.txt file that will build
an external library for Android (Ninja generator, directly from
AndroidStudio).<br>
For now I use the wrong generator for test.<br>
</p>
<br>
<div class="moz-cite-prefix">On 30/03/2017 16:20, David Cole
wrote:<br>
</div>
<blockquote
cite="mid:CAKME8fFZkebJS1jy2_3OQuXMogG=7YBAokwjNbtrBR+0VA0fng@mail.gmail.com"
type="cite">
<pre wrap="">Do give it a BINARY_DIR, but do NOT give it a BUILD_COMMAND. \
Giving it an empty BUILD_COMMAND means "do nothing" for the build step and using
"cmake --build ./LibraryBuild" does not work unless cmake is in your
PATH, and with a Visual Studio solution, you also need to specify
"--config Release" or "--config Debug"
Also posted on SO.
HTH,
David C.
On Thu, Mar 30, 2017 at 10:10 AM, Christophe Demez
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" \
href="mailto:christophe.demez@luciad.com"><christophe.demez@luciad.com></a> \
wrote: </pre>
<blockquote type="cite">
<pre wrap="">Hi,
I'm currently using one CMakeLists.txt file that will execute an external
CMakeLists.txt (and dependency).
For this I use the ExternalProject_Add command, but I can't find a way to
specify where the ".sln" file will be generated.
I have also created StackOverflow question here with more information, if
someone have an idea for a solution ?
<a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://stackoverflow.com/questions/43117117/cmake-use-externalproject-add-and-sp \
ecify-the-output-folder">http://stackoverflow.com/questions/43117117/cmake-use-externalproject-add-and-specify-the-output-folder</a>
Thanks
--
Powered by <a moz-do-not-send="true" class="moz-txt-link-abbreviated" \
href="http://www.kitware.com">www.kitware.com</a>
Please keep messages on-topic and check the CMake FAQ at:
<a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: <a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a>
CMake Consulting: <a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a>
CMake Training Courses: <a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a>
Visit other Kitware open-source projects at
<a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" \
href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a>
</pre>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta charset="utf-8">
<title>Luciad Email Signature</title>
<span class="name" style="font-family: Arial, Helvetica,
sans-serif;font-size: 10pt;color: #6B7D82;text-transform:
uppercase;"><strong> Christophe Demez </strong></span><br>
<span class="title" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;color: #6B7D82;text-transform:
uppercase;"> PROJECT LEADER </span> <span class="half-line"
style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;"><a
moz-do-not-send="true" href="http://www.luciad.com/"
target="_blank" style="color: #6B7D82;font-family: Arial,
Helvetica, sans-serif;font-size: 10pt;font-weight:
400;text-decoration: none;"><strong>LUCIAD</strong></a></span><span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">
CONNECT <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">• VISUALIZE <span class="normal"
style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">•</span> ANALYZE <span class="normal"
style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">•</span> ACT</span></span> <span
class="half-line" style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: 400;">
<a moz-do-not-send="true"
href="mailto:christophe.demez@luciad.com" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">
christophe.demez@luciad.com </a> </span> <span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">•
</span><span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;"> T </span><span class="number" style="font-family:
Tahoma, Arial sans-serif;font-size: 9pt;font-weight:
200;color: #6B7D82;"> +32 16 23 95 91 </span><br>
<span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">Follow
us on </span><span class="links" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;"><a moz-do-not-send="true"
href="https://www.linkedin.com/company/luciad" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">LinkedIn</a></span><span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">
or </span><span class="links" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;"><a moz-do-not-send="true"
href="http://www.twitter.com/LUCIADconnect" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">@LUCIADconnect</a></span>
<span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <img src="cid:part15.05D73FDD.FD4267A5@luciad.com"
alt="Luciad"> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta charset="utf-8">
<title>Luciad Email Signature</title>
<span class="name" style="font-family: Arial, Helvetica,
sans-serif;font-size: 10pt;color: #6B7D82;text-transform:
uppercase;"><strong>
Christophe Demez
</strong></span><br>
<span class="title" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;color: #6B7D82;text-transform:
uppercase;">
PROJECT LEADER
</span> <span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;"><a
href="http://www.luciad.com/" target="_blank" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
10pt;font-weight: 400;text-decoration: \
none;"><strong>LUCIAD</strong></a></span><span class="normal" style="font-family: \
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">
CONNECT <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size:
9pt;font-weight: 400;color: #6B7D82;">• VISUALIZE <span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">•</span>
ANALYZE <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">•</span>
ACT</span></span> <span class="half-line"
style="line-height:2px;"> <br>
<br>
</span> <span class="links" style="color: #6B7D82;font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight: 400;">
<a href="mailto:christophe.demez@luciad.com" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">
christophe.demez@luciad.com
</a> </span> <span class="normal" style="font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;color:
#6B7D82;">• </span><span class="normal" style="font-family:
Arial, Helvetica, sans-serif;font-size: 9pt;font-weight:
400;color: #6B7D82;"> T </span><span class="number"
style="font-family: Tahoma, Arial sans-serif;font-size:
9pt;font-weight: 200;color: #6B7D82;">
+32 16 23 95 91
</span><br>
<span class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size: 9pt;font-weight: 400;color: #6B7D82;">Follow
us on </span><span class="links" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;"><a
href="https://www.linkedin.com/company/luciad" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">LinkedIn</a></span><span
class="normal" style="font-family: Arial, Helvetica,
sans-serif;font-size:
9pt;font-weight: 400;color: #6B7D82;"> or </span><span
class="links" style="color: #6B7D82;font-family: Arial,
Helvetica, sans-serif;font-size: 9pt;font-weight: 400;"><a
href="http://www.twitter.com/LUCIADconnect" style="color:
#6B7D82;font-family: Arial, Helvetica, sans-serif;font-size:
9pt;font-weight: 400;text-decoration: none;">@LUCIADconnect</a></span>
<span class="half-line" style="line-height:2px;"> <br>
<br>
</span> <img src="cid:part20.F49662BD.C7C8CC5A@luciad.com"
alt="Luciad"> </div>
</body>
</html>
[Attachment #8 (image/png)]
["luciad-logo.png" (image/png)]
--
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