Closed margro closed 7 years ago
Challenge is that the INTO-CPS FMU builder should still be able to build the FMU binaries for the sources without this prefix. Defining FMI2_FUNCTION_PREFIX="" (empty) does not work since the default FMI2 headers skip the DLL function export when the FMI2_FUNCTION_PREFIX define is set (even when it is empty)
Section 2.1.1 of the FMI 2.0 standard describes that FMUs shipped with source code should define the FMI2_FUNCTIONPREFIX as "theFMUname".
The 20-sim generated FMUs contain both binaries for Windows and the source code. The generated source code should set this define.