Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 421
    • Issues 421
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2172
Closed
Open
Issue created Jul 28, 2021 by Henning Scheufler@Henning86

Conan Package Manager for OpenFOAM

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

Assignee
Assign to
Time tracking