Open
Description
The memilio c++ libraries are intended to be included into other projects using cmake, either by installing memilio first or including it directly as a subdirectory (similar to what memilio does with its dependencies). Both ways should be tested and fixed if necessary.
Steps for integration with install:
in shell:
mkdir build && cd build
cmake .. #maybe with options
cmake --build .
cmake --install .
then in another project's CMakeList.txt:
find_package(memilio REQUIRED) #maybe check specific components?
target_link_libraries(<target> PUBLIC memilio::memilio) #also memilio::secir and other models
Steps for integration with add subdirectory:
in another project's CMakeLists.txt:
add_subdirectory('memilio/cpp')
target_link_libraries(<target> PUBLIC memilio::memilio)
or
target_link_libraries(<target> PUBLIC memilio)