The implementation allowed for separate building and installation of all the components, enhancing efficiency and modularity
Created separate target files for individual components; also added new CMake options to enable the building of individual components.
Fixed an issue with the 'libiconmath' package not being found in another program when it is installed in a custom prefix directory.
Additionally, two more major changes were made:
iconmath
. The motivation behind the change was that I found a code that uses a module from iconmath::horizontal
compiles fine even though that component is not linked using target_link_libraries
.iconmath
. Before, the inclusions of components interpolation
and horizontal
were done depending on their presence in the proper place. But, because of this, it was possible to use target_link_libraries(new-project PRIVATE iconmath::horizontal)
successfully even when iconmath
was found using find_package(iconmath CONFIG REQUIRED COMPONENTS interpolation)
. This should always give an error, which was not the case before these changes were made.make format
for linting)
Draft:
You are not supposed to merge this request by yourself, the maintainers of libiconmath take care of this action!