<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I ended with :</p>
<p>add_custom_target(combined ALL<br>
COMMAND ${CMAKE_AR} rc libcombined.a $<TARGET_<a class="moz-txt-link-freetext" href="FILE:lib1">FILE:lib1</a>>
$<TARGET_<a class="moz-txt-link-freetext" href="FILE:lib2">FILE:lib2</a>>) <br>
</p>
<br>
<div class="moz-cite-prefix">Le 31/08/2018 à 15:24, Eric Noulard a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAPASGLpw81r-rBbT=nN0u9Ho4rtM5UdAfLdzzC2N9bnBoVYxew@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">First create OBJECT libraries instead of static
<div>Then create as many STATIC libraries as you want that
includes as many OBJECT libraries content as you want.</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Le ven. 31 août 2018 à 15:17, Stéphane Ancelot
<<a href="mailto:sancelot@numalliance.com"
moz-do-not-send="true">sancelot@numalliance.com</a>> a
écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have got some static libraries generated, that I would like
to put in <br>
a common one.<br>
<br>
how can I proceed ?<br>
<br>
Regards,<br>
<br>
S.Ancelot<br>
<br>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a
href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake
community. For more information on each offering, please
visit:<br>
<br>
CMake Support: <a
href="http://cmake.org/cmake/help/support.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a
href="http://cmake.org/cmake/help/consulting.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a
href="http://cmake.org/cmake/help/training.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Eric<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>