Skip to content

Compilation runner script

Robert Doczi edited this page Nov 6, 2015 · 2 revisions

Required directory structure

Every model should be in a subdirectory inside of a single folder. In each model directory there should be an impl folder, which will be copied to the root directory of the generated code, and the .uml model file. The model folder's name should be the same as the .uml file's name. The code will be generated inside a newly created gen folder in each model directory.

Example:

  • models
    • clientserver
      • clientserver.uml
      • impl
        • main.cc
    • phonex
      • phonex.uml
      • impl
        • main.cc
        • special_external_class.cc

Running the script

The script has two arguments:

  1. the location of the Eclipse RCP Application which will generate the code
  2. the directory containing the models

Example: ./run_compile.sh ./eclipse/eclipse ./models

Clone this wiki locally