[Dune-devel] Required CMake version
Markus Blatt
markus at dr-blatt.de
Fri Jan 5 14:08:28 CET 2018
On Fri, Jan 05, 2018 at 11:30:51AM +0100, Markus Blatt wrote:
> Just one addition:
>
> As I was wondering what is so special about target_sources I did
> glimpse at the documentation. Accoding to it we use this function to
> populate the SOURCES properties of the target that are libraries. This is very
> convenient indeed, but this property can be set directly for
> older CMake versions.
That last sentence is not true. Somehow this property must be read only
once it is set by add_library. I learned this by trying to mimick
target_sources in CMake 3.0. So 3.1 is indeed a must for adding all
flags.
Cheers,
Markus
--
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Pedettistr. 38, 85072 Eichstätt, Germany, USt-Id: DE279960836
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20180105/87dee9ab/attachment.sig>
More information about the Dune-devel
mailing list