You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
given the quite complex CMake project with lots of dependencies it would be greate if there was a proper and smart way to import Mumps targets from external projects without fetching online. What is the best way?
My external project build with Visual Studio and I wouldn't make it compile with Ninja.
Can you provide a little snippet for it?
I don't see any typical file of CMake Packages so I assume there is none.
The text was updated successfully, but these errors were encountered:
I made the exported targets in the latest GIt commit to main branch. they install under ${CMAKE_INSTALL_PREFIX}/lib/cmake
To use this from your own project, having previously built Mumps and used cmake --install build you can then use from another CMake project like in the examples/CMakeLIsts.txt here,
Pretending the examples/ is your other project:
cd examples
cmake -Bbuild -DMUMPS_ROOT=~/mylibs/mumps
cmake --build build
Hi,
given the quite complex CMake project with lots of dependencies it would be greate if there was a proper and smart way to import Mumps targets from external projects without fetching online. What is the best way?
My external project build with Visual Studio and I wouldn't make it compile with Ninja.
Can you provide a little snippet for it?
I don't see any typical file of CMake Packages so I assume there is none.
The text was updated successfully, but these errors were encountered: