<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Good. Just maybe some lines in the documentation for anyone who might want to build the static library, for whatever reason.<span id="ms-outlook-android-cursor"></span><br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dune-devel <dune-devel-bounces@lists.dune-project.org> on behalf of Christoph Grüninger <foss@grueninger.de><br>
<b>Sent:</b> Sunday, September 20, 2020 2:18:22 PM<br>
<b>To:</b> dune-devel@lists.dune-project.org <dune-devel@lists.dune-project.org><br>
<b>Subject:</b> [Dune-devel] remove DUNE_BUILD_BOTH_LIBS from CMake (!858)</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Dear Dune users,<br>
<br>
when we wrote the current CMake-based build system to replace Autotools,<br>
we were asked to mimic as many features from Autotools as possible.<br>
Now, after we got rid of Autotools and also the way writing CMake has<br>
changed ("modern CMake"), we are planning to overhaul the build system,<br>
make it more modern CMake and less Autotoolish / less Dune-specific.<br>
<br>
That's why Simon and myself are proposing to remove options<br>
DUNE_BUILD_BOTH_LIBS and DUNE_USE_ONLY_STATIC_LIBS, cf. dune-common!858.<br>
<a href="https://gitlab.dune-project.org/core/dune-common/-/merge_requests/858">https://gitlab.dune-project.org/core/dune-common/-/merge_requests/858</a><br>
<br>
Details<br>
There is hardly any use-case for building both, shared and static<br>
libraries, at the same time. It just complicates the whole CMake<br>
structure. Additionally, the option DUNE_USE_ONLY_STATIC_LIBS is a hack<br>
in the CMake automatic find-library and linkage procedure.<br>
<br>
If both types of libraries are required, we propose to have two build<br>
directories and build them separately.<br>
<br>
Bye<br>
Christoph<br>
<br>
-- <br>
Mit Kurzschlafwettkampfbestzeit<br>
[Tua von Die Orsons - Sowas von egal]<br>
<br>
_______________________________________________<br>
Dune-devel mailing list<br>
Dune-devel@lists.dune-project.org<br>
<a href="https://lists.dune-project.org/mailman/listinfo/dune-devel">https://lists.dune-project.org/mailman/listinfo/dune-devel</a></div>
</span></font></div>
</body>
</html>