Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Papyrus/Codegen/CppHelloWorld
Create a C++ Hello World Example
This document is a work in progress and as such it is incomplete!!!
Goals
Starting from a blank page, create a Papyrus/C++ "Hello World" example, then generate and run the resulting C++ code.
The screenshots were created running Eclipse on a Windows 7 machine. Your result will probably look slight different when run on a different OS.
Prerequisites
1 Eclipse
Eclipse Neon.3 release 4.6.3 was used to create the example. I started with the Eclipse Modeling Tools packages and added the other components from there. To check your Eclipse version, select "Help" from the main menu and select "About Eclipse".
Q. Is there a minimum version? TODO: Add a link to instructions on installing Eclipse.
2 Papyrus (obviously!)
Papyrus version 2.0.3 was used to create this example. To check your Papyrus version, select "Help" from the main menu and select "About Eclipse". In the resulting popup window, click on the Papyrus icon.
An existing hello world example is available via File->New->Example.