Opened 10 years ago
Last modified 8 years ago
#3899 new defect
Make FMU Compile without configure script
| Reported by: | Martin Sjölund | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | FMI | Version: | |
| Keywords: | intocps | Cc: | Adrian Pop |
Description
If we assume that the user of the FMU has nothing installed on his system and wants the most bare-bone FMU we could possibly compile, it should be possible to compile the FMU is a standard way:
<ModelExchange> and <Co-Simulation> XML tags have a <SourceFiles> tag with a list of <File> that we could use to specify all files necessary to compile the FMU (note: this requires OM finding out which these files are at OMC compile-time or reading some structure later).
It would be nice if the C-code also worked without setting gcc include directives like -I include/fmi2.
One problem is of course how to deal with external build projects like ModelicaExternalC.
We should still support the configure script though since it takes care of a lot of extras for us.
Change History (2)
comment:1 by , 10 years ago
| Cc: | added |
|---|---|
| Keywords: | intocps added |

We now have the autoconf/configure results cached for when we compile for the current platform. The other parts in the ticket are not considered though.