[GiNaC-devel] CMake improvements

Alexey Sheplyakov asheplyakov at yandex.ru
Fri Aug 28 17:21:28 CEST 2020


Hi Richard,

23.08.2020, 18:00, "Richard B. Kreckel" <kreckel at in.terlu.de>:

> 1) The file cmake/ginac-config.cmake.in ought to be shipped by
> Autotools, so CMake build works also with packages built with usual
> 'make dist'. What's the best way to do this?
> 2) Does the latest commit (4524434d27) break CMake build unless CLN is
> CMake'ified? I'm getting this:
> CMake Error at cmake/modules/FindCLN.cmake:141 (add_library):
>    add_library cannot create ALIAS target "cln::cln" because target "cln" is
>    imported but not globally visible.
> Call Stack (most recent call first):
>    CMakeLists.txt:54 (find_package)
>
> 3) Commit 9b35ea74e2 breaks building the examples with -std=c++-20.
> Please remember to place using-declarations after #include directives,
> like in commit 69815a366b.

I've addressed these issues and pushed updates to https://github.com/asheplyakov/ginac/tree/cmake
(commit e7a1ce91cd311fde94a8011e2869a7f9fc018f41). Please let me know if there
are any other problems.

Best regards,
      Alexey


More information about the GiNaC-devel mailing list