Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E EMAM2SomeIP
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • monticore
  • EmbeddedMontiArcEmbeddedMontiArc
  • generators
  • EMAM2SomeIP
  • Issues
  • #15
Closed
Open
Issue created Jun 28, 2019 by Alexander David Hellwig@alexander.hellwigOwner

Add basic CMake generation

Add basic generation of a CMake File to compile an SomeIPAdapter(e.g. your example Adapter)

Deliverables:

  • new Template CMakeLists.ftl

    • Can be based on CMake template in EMAM2Roscpp
    • Result should look similar to your example adapter's CMakeLists.txt
    • The resulting compiled library should be named SomeIPAdapter_${escapedCompName}, where ${escapedCompName} is componentInstance.getFullName() with all ., [,] replaced by _
  • In SomeIPTemplates:

    • A new constant + fill method pair for the template CMakeLists.ftl
  • In SomeIPGenerator:

    • a method + File generateCMake(EMAComponentInstanceSymbol) that generates the CMake file using the SomeIPTemplate Class and the template CMakeLists.ftl.
  • Add a test case:

    • as previously(Issue #13 (closed)):
      • parse a simple componentInstance
      • manually add SomeIPConnectionSymbols with EMAPortInstanceSymbol::setMiddlewareSymbol
    • call generateCMake on the componentInstance
    • compare the resulting File with an expected result(AbstractSymtabTest::testFilesAreEqual)
Assignee
Assign to
Time tracking