Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.67 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.67 KB

OMEdit

A Modelica connection editor for OpenModelica.

Dependencies

Build instructions

Follow the instructions matching your OS:

Compile/Debug from Qt Creator

Compile OMEdit once using the build instructions above so all dependencies of OMEdit are ready. Then follow these steps,

  • Load the OMEdit.pro file in Qt Creator.
  • Configure the project with the compiler you used to compile OMEdit earlier.
  • Go to project build settings in Qt Creator. Add a custom build step to copy executable OMEdit from OpenModelica/OMEdit/bin to OpenModelica/build/bin
  • Add the build environment variables CXX and OMBUILDDIR. CXX is only needed if your default is gcc and you want to use clang. OMBUILDDIR should point to OpenModelica/build.
  • Change the run settings to run the executable OpenModelica/build/bin/OMEdit instead of OpenModelica/OMEdit/bin/OMEdit.
  • Compile/debug OMEdit. Build Settings

Coding Style

  • 2 spaces not tab
  • CamelCase except that first letter should be small.
  • Member variables should start with m and member pointers should start with mp.
  • Local pointers should start with p.
  • Use meaningful name for variables and functions.

Bug Reports