Opened 7 years ago
Last modified 7 years ago
#4642 closed defect
Add documentation of __OpenModelica vendor annotations for compilation and simulation flags — at Version 1
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | Documentation | Version: | |
Keywords: | Cc: |
Description (last modified by )
Following the discussion in #3488, vendor-specific annotations were added in OMC to set compilation and simulation flags.
Unfortunately, there is no mention of them in the user's guide, the only references are found in the ticket:
- ticket:3488#comment:9 for
__OpenModelica_commandLineOptions
- ticket:3488#comment:17 for
--ignoreCommandLineOptionsAnnotation
- ticket:3488#comment:27 for
__OpenModelica_simulationFlags
- ticket:3488#comment:27 for
--ignoreSimulationFlagsAnnotation
where they are mixed up with early proposals and various discussions, which makes the whole thing quite hard to interpret.
I would recommend to add a reference to the first two in the Compiler Flags page and a reference to the second two in the Simulation Flags page, explaining how to set the flags and with at least one example with multiple flags to make it clearer.
Also, it is not clear how (or actually if) it is possible to set value-less flags such as -daeMode
or -noEquidistantTimeGrid
, as it seems from the examples given in #3488 that is only possible to set simflags that have a value.