Finalize 1.8.7 release.
Use "modern" CMake facilities to manage includes and libs * Use target_link_libraries to specify dependencies (include paths, compiler options, etc) * Export targets and provide `ginac-config.cmake` so the following `CMakeLists.txt` is enough to build a program using GiNaC: cmake_minimum_required(VERSION 3.1) project(foo) find_package(ginac REQUIRED) add_executable(foo foo.cpp) target_link_libraries(foo PRIVATE ginac::ginac) * GiNaC can be included as a (CMake) subproject. One can put GiNaC sources (either from git or a tarball) into a subdirectory (say, `ginac`) and use the following CMakeLists.txt to build everything: cmake_minimum_required(VERSION 3.1) project(foo) add_subdirectory(ginac) add_executable(foo foo.cpp) target_link_libraries(foo PRIVATE ginac::ginac)
[build] Ship FindLibDL.cmake, it's needed by CMakeLists.txt.
[build] Include CMake related files into the tarball.
[build] Include the helper scripts into the tarball.
[build] Set correct rpath for linking with CLN... ... so users won't get 'error while loading shared libraries: no such file or directory'. Also embed rpath into pkg-config meta data, so g++ `pkg-config --cflags --libs ginac` foo.cc actually works without any additional effort from the user side.
* Use pkg-config for detecting CLN, advertise it in the manual and drop ginac-config and ginac.m4. [Alexei Sheplyakov]
Modernized configuration files [A.Sheplyakov].
added pkg-config support
use "rpmbuild" instead of "rpm"
- ginsh_fcn_help/ginsh_op_help.c are renamed to *.h and now placed in the build directory, not the source directory
- config.*: updated from FSF. - Removed cint subdir for good because the new separate package seems to work properly now (after some longish argument with makecint).
documentation update
- added man page for ginac-config - all man pages now display the current GiNaC version number
updated spec file which is now also included in the tarball
- cint/*: Revamped the launch-scheme for ginaccint.bin. It must be done by a binary executable and not by a script to ensure users can write shebang-scripts. - cint/*: Added a testsuite which hopefully passes (some lucky day). - cint/ginaccint.bin: For this to work we needed a --silent command line switch. - configure.in, Makefile.am, cint/Makefile.am: account for new launchers. - ginac/matrix.cpp, ginac/matrix.h: removed confusing ffe_get() and ffe_set() routines since they counted the non-standard way. - config.guess, config.sub: Updated to new versions from FSF. - others files: Changes triggered.
- Adjusted build-environment for "Cint without crutches" (tm).
- cint dir was missing from distribution
- Renamed flag NO_GINAC_NAMESPACE to NO_NAMESPACE_GINAC because of m4. - Made configure check for cint and makecint and call makecint to dump out cint/Makefile.cint, which will later be called by cint/Makefile. See configure option --with-cint. - Added some documentation about GiNaC-cint (e.g. a manpage). - All dummies in subdir cint/ are created by cint/dummies.pl now, removed older stuff.
- updated configure script and makefiles