Changeset cae4ce05 in OpenModelica
- Timestamp:
- 2021-01-20T15:07:14+01:00 (3 years ago)
- Children:
- 765c6db
- Parents:
- 03da1b5
- Location:
- OMCompiler/SimulationRuntime/c
- Files:
-
- 6 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/SimulationRuntime/c/Makefile.objs
rba83d81 rcae4ce05 261 261 262 262 FMIPATH = ./fmi/ 263 FMI_OBJS = FMI Common$(OBJ_EXT) FMI1Common$(OBJ_EXT) FMI1ModelExchange$(OBJ_EXT) FMI1CoSimulation$(OBJ_EXT) FMI2Common$(OBJ_EXT) FMI2ModelExchange$(OBJ_EXT)263 FMI_OBJS = FMI2Common$(OBJ_EXT) FMI2ModelExchange$(OBJ_EXT) 264 264 FMIOBJSPATH = $(FMI_OBJS:%=$(BUILDPATH)/$(FMIPATH)%) 265 265 -
OMCompiler/SimulationRuntime/c/fmi/CMakeLists.txt
r83be5f2b rcae4ce05 3 3 4 4 # Quellen und Header 5 SET(fmi_sources FMI 1CoSimulation.c FMI1Common.c FMI1ModelExchange.c FMI2Common.c FMI2ModelExchange.c FMICommon.c)5 SET(fmi_sources FMI2Common.c FMI2ModelExchange.c) 6 6 7 SET(fmi_headers FMI 1Common.h FMI2Common.h FMICommon.h)7 SET(fmi_headers FMI2Common.h) 8 8 9 9 # Library OpenModelicaFMIRuntimeC … … 13 13 INSTALL(TARGETS OpenModelicaFMIRuntimeC 14 14 ARCHIVE DESTINATION lib/omc) 15 -
OMCompiler/SimulationRuntime/c/fmi/FMI2Common.c
r83be5f2b rcae4ce05 36 36 37 37 /* 38 * Used for logging import messages. 39 */ 40 void importlogger(jm_callbacks* c, jm_string module, jm_log_level_enu_t log_level, jm_string message) 41 { 42 printf("module = %s, log level = %s: %s\n", module, jm_log_level_to_string(log_level), message);fflush(NULL); 43 } 44 45 /* 38 46 * Used for logging FMU messages. 39 47 * Logger function used by the FMU 2.0 internally. -
OMCompiler/SimulationRuntime/c/fmi/FMI2Common.h
r83be5f2b rcae4ce05 32 32 #define FMI2COMMON__H_ 33 33 34 #include "FMICommon.h" 34 #include <stdio.h> 35 #include <stdlib.h> 36 37 #if defined(__MINGW32__) 38 #define FMILIB_STATIC_LIB_ONLY 1 39 #endif 40 41 #include "fmilib.h" 42 #include "../ModelicaUtilities.h" 43 44 void importlogger(jm_callbacks* c, jm_string module, jm_log_level_enu_t log_level, jm_string message); 35 45 36 46 /* -
OMCompiler/SimulationRuntime/c/fmi/FMI2ModelExchange.c
r83be5f2b rcae4ce05 33 33 #endif 34 34 35 #include "FMICommon.h"36 35 #include "FMI2Common.h" 37 36
Note: See TracChangeset
for help on using the changeset viewer.