PDF guides attached for both Windows and Ubuntu.
>>> "William Byrne" <williamb@xxxxxxxxxx> 5/14/2016 12:51 AM >>>
Hi Ernesto,
I rolled-back the formatting clean-up into the original commit via Amend (which is very convenient.) You may notice a few whitespace changes that amount to nothing more than converting tabs to spaces, and the elimination of trailing whitespace that Gerrit flagged in terrorizing red blocks.
I'll follow up with a simple step-by-step guide (with pics) for execution on Windows using Cygwin within Eclipse. But if you're familiar with cmake, give it a go. It should just work*. Aside from creating the canonical build sub-directory, be sure to symlink the RTS relative to the model source; e.g.,
[PingPong_CDTProject]/src/umlrt.rts -> org.eclipse.papyrus-rt/plugins/umlrt/runtime/rts
I'll speak to these details in the "simple" guide.
- Bill
* To generate CMakeLists.txt, the cmakeGen member in CppCodePattern must be set to true since generation defaults to the earlier Makefile implementation.
Tested x86 on: Ubuntu 12.04, Fedora 20, VS 2013, VS 2015, cygwin, msys
A couple of points regarding the code changes:
1) The new class, ConditionalDirective, might be refactored as a subclass of BlockInitializer, but for the time-being, the two classes are siblings that share an extracted subset of functionality encapsulated in the new ExpressionList class. The ConditionalDirective class provides #ifdef, etc.
2) The Makefile generators share the abstracted super-xtend, AbstractCppMakefileGenerator