[Dune-devel] remove DUNE_BUILD_BOTH_LIBS from CMake (!858)

Oliver Sander oliver.sander at tu-dresden.de
Mon Sep 21 08:42:56 CEST 2020


Hi Christoph, hi Simon,

I have never used these features.

Best,
Oliver

On 20.09.20 21:18, Christoph GrĂ¼ninger wrote:
> Dear Dune users,
> 
> when we wrote the current CMake-based build system to replace Autotools,
> we were asked to mimic as many features from Autotools as possible.
> Now, after we got rid of Autotools and also the way writing CMake has
> changed ("modern CMake"), we are planning to overhaul the build system,
> make it more modern CMake and less Autotoolish / less Dune-specific.
> 
> That's why Simon and myself are proposing to remove options
> DUNE_BUILD_BOTH_LIBS and DUNE_USE_ONLY_STATIC_LIBS, cf. dune-common!858.
> https://gitlab.dune-project.org/core/dune-common/-/merge_requests/858
> 
> Details
> There is hardly any use-case for building both, shared and static
> libraries, at the same time. It just complicates the whole CMake
> structure. Additionally, the option DUNE_USE_ONLY_STATIC_LIBS is a hack
> in the CMake automatic find-library and linkage procedure.
> 
> If both types of libraries are required, we propose to have two build
> directories and build them separately.
> 
> Bye
> Christoph
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20200921/faa3b81f/attachment.bin>


More information about the Dune-devel mailing list