Book a Demo

Author Topic: CMAKE project and sequence diagram  (Read 5861 times)

Resistance

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
CMAKE project and sequence diagram
« on: November 15, 2018, 04:16:17 pm »
Hi dear all.
I need to make a sequence diagram for C++ cmake project on Linux. I used Sparx Enterprise Architect but I'm new to Enterprise Architect. I imported my code but don't know how can generate cmake project sequence diagram. Is there any possibility to make sequence diagram of cmake project in Enterprise Architect (with or without run code) and if it's possible how could be done?
In addition I confused due to not generated UML element in class diagram per each class in source code.

Any help and explanation appreciated.
« Last Edit: November 15, 2018, 04:23:56 pm by Resistance »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: CMAKE project and sequence diagram
« Reply #1 on: November 15, 2018, 06:57:28 pm »
You will not get any SD from code. Neither here nor on StackOverflow. This is mathematically simply impossible.

q.

Resistance

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: CMAKE project and sequence diagram
« Reply #2 on: November 15, 2018, 07:20:37 pm »
You will not get any SD from code. Neither here nor on StackOverflow. This is mathematically simply impossible.

q.
According to https://sparxsystems.com/products/ea/6.0/buildandrun.html it is possible for .Net and Java by debugging capability but I don't know is it possible for c++ cmake project on Linux or not?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: CMAKE project and sequence diagram
« Reply #3 on: November 15, 2018, 08:04:13 pm »
You will not get any SD from code. Neither here nor on StackOverflow. This is mathematically simply impossible.

q.
According to https://sparxsystems.com/products/ea/6.0/buildandrun.html it is possible for .Net and Java by debugging capability but I don't know is it possible for c++ cmake project on Linux or not?

The documentation you mentioned refers to version 6, which is 10 or 15 years old.
Maybe you should look into more recent documentation: https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/visual_execution_analysis/buildandrun.html
It says C++ is supported.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: CMAKE project and sequence diagram
« Reply #4 on: November 15, 2018, 09:15:58 pm »
It's not getting the SD from code but from runtime. This is something completely different. And, as Geert stated, it's possible to create SD from debugging code. You need to RTFM, though.

q.