[GiNaC-devel] CMake improvements

Richard B. Kreckel kreckel at in.terlu.de
Sun Aug 23 16:00:17 CEST 2020


Hi Alexey,

On 23.08.20 11:03, Alexey Sheplyakov wrote:
> https://github.com/asheplyakov/ginac/tree/cmake
> (git pull git://github.com/asheplyakov/ginac.git cmake)

I tried your patches. Some minor issues should still be addressed.

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.

All my best,
   -richy.
-- 
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>


More information about the GiNaC-devel mailing list