This will help other CMake projects to import mirco as a library using find_package(mirco_lib)
Description and Context
This PR fixes the installation of MIRCO to be used by other CMake Projects. Doing make install creates a mirco_libConfig.cmake file in /lib/cmake/mirco/ inside the build directory. Other CMake projects like BACI can directly call find_package(mirco_lib) to use all the targets and includes. It makes mirco::mirco_lib target available that can be linked against the project target.
Related Issues and Pull Requests
Closes
Blocks
Is blocked by
Follows PR #78
Precedes
Related to
Part of
Composed of
How Has This Been Tested?
Compiled together with BACI in my local machine.
Checklist
[ ] My commit messages mention the appropriate GitHub issue numbers and are longer than one line where appropriate.
[ ] I have added/updated documentation where necessary.
This will help other CMake projects to import mirco as a library using find_package(mirco_lib)
Description and Context
This PR fixes the installation of MIRCO to be used by other CMake Projects. Doing
make install
creates amirco_libConfig.cmake
file in/lib/cmake/mirco/
inside the build directory. Other CMake projects like BACI can directly callfind_package(mirco_lib)
to use all the targets and includes. It makesmirco::mirco_lib
target available that can be linked against the project target.Related Issues and Pull Requests
How Has This Been Tested?
Compiled together with BACI in my local machine.
Checklist
Additional Information
Interested Parties / Possible Reviewers
@mayrmt