Skip to content

fix(Conan): Fix build from source and creation of packages

Done:

  • Use CMake within Conan as much as possible (do not reinvent install logic)

  • linux: fix build from source for packages osi, fmi

  • linux: openpass can be build with osi and fmi as Conan packages

  • windows: fix build from source for packages osi, fmi

  • windows: openpass can be build with osi and fmi as Conan packages

Probably need to be fixed in near future:

  • check if it is really necessary to build boost and qt from source and deploy as Conan package

  • linux: better way to insert c/c++ compiler dependencies into conanfile.py (right now, hardcoded e.g. CMAKE_CXX_COMPILER=g++-10)

  • fix build from source for packages boost, qt (interesting for linux only?)

  • openpass can be build with osi, fmi, boost and qt as Conan packages (interesting for linux only?)

  • fix build with tests enabled

  • fix build with gui enabled

General ideas:

  • CMake variables as Conan options so that they can be set without touching the conanfile.py
  • Right now, openpass thirdparties get copied in the same directory ThirdParty during build process and share common directories like bin and lib (not so clean)
  • creation of top-level profiles including settings regarding operation system (win/lin), compiler used(gcc9, gcc10) etc.
Edited by Robin Caloudis

Merge request reports