axom
axom copied to clipboard
Fix `using-with-cmake` and `using-with-blt` examples on Windows
User @tlorentz77 reported trouble building the using-with-cmake
and using-with-blt
examples on Windows.
We should fix these and incorporate them into our Windows-based CI.
See #982 for more details.
Hello @kennyweiss , I've noticed that you have merged a branch (https://github.com/LLNL/axom/pull/1094) to fix this issue. Thanks very much for your hard work.
However, I found this issue have not been fixed yet. If you are trying to build one of the examples (https://github.com/LLNL/axom/tree/develop/src/examples/using-with-blt) after installing axom using vcpkg on Windows, you will find that lots of TPL pakcages cannot be found. I think the issue is caused by the package config files located in different folders on different platform (e.g. on Linux: "${CAMP_DIR}/lib/cmake/camp" and on Windows: "${CAMP_DIR}/share/camp". )
https://github.com/LLNL/axom/blob/a5b9b2239020df6283adb804532c691a5924904d/src/cmake/axom-config.cmake.in#L90
The above is just for example, and the paths of other packages have similar problem.
Thanks for your continued patience @tlorentz77.
I'm still working on the fix for the using-with-cmake
problem (i.e. this issue).
In the process of looking into it, I noticed that the Windows build was broken, and fixed it in #1094.
I'm optimistic that the fix will be reasonably straightforward and will keep you posted on my progress.
Thanks @kennyweiss. I can hardly wait to run Axom on Windows.