Skip to content
Snippets Groups Projects
Closed Conan Package Manager for OpenFOAM
  • View options
  • Conan Package Manager for OpenFOAM

  • View options
  • Closed Issue created

    Hi,

    I recently stumbled over the conan c/c++ package manager and was impressed by how easy it is to use. It downloads the precompiled package and dramatically simplifies the installation process of new libraries similar to pip install in python.

    The available libraries can be browsed here:

    https://conan.io/center/

    The most common generator used with conan is cmake, but it can be easily extended, as shown in the example below:

    https://github.com/HenningScheufler/OpenFOAMGen

    The above generator inserts the conan-dependencies in the options file in the Make folder based on a file named options.template. I successfully linked the boost library and nlohmann/json with just a few lines of code.

    This is the first draft of the generator, and I would be happy to get your thoughts and suggestions as I only know the basics of the OpenFOAM build system.

    Best Regards,

    Henning

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading