Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • O opSimulation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 5
    • Merge requests 5
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse openpass
  • opSimulation
  • Merge requests
  • !40

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Robin Caloudis requested to merge rcaloudis2v6/simopenpass:feature/conan-linux-windows into 2-ci-setup-windows Sep 14, 2021
  • Overview 1
  • Commits 2
  • Changes 5

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 Sep 15, 2021 by Robin Caloudis
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/conan-linux-windows

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent