Changeset cae4ce05 in OpenModelica


Ignore:
Timestamp:
2021-01-20T15:07:14+01:00 (3 years ago)
Author:
Lennart Ochel <lennart.ochel@…>
Children:
765c6db
Parents:
03da1b5
Message:

Removed fmi1 from c runtime

Location:
OMCompiler/SimulationRuntime/c
Files:
6 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/SimulationRuntime/c/Makefile.objs

    rba83d81 rcae4ce05  
    261261
    262262FMIPATH = ./fmi/
    263 FMI_OBJS = FMICommon$(OBJ_EXT) FMI1Common$(OBJ_EXT) FMI1ModelExchange$(OBJ_EXT) FMI1CoSimulation$(OBJ_EXT) FMI2Common$(OBJ_EXT) FMI2ModelExchange$(OBJ_EXT)
     263FMI_OBJS = FMI2Common$(OBJ_EXT) FMI2ModelExchange$(OBJ_EXT)
    264264FMIOBJSPATH = $(FMI_OBJS:%=$(BUILDPATH)/$(FMIPATH)%)
    265265
  • OMCompiler/SimulationRuntime/c/fmi/CMakeLists.txt

    r83be5f2b rcae4ce05  
    33
    44# Quellen und Header
    5 SET(fmi_sources  FMI1CoSimulation.c  FMI1Common.c  FMI1ModelExchange.c  FMI2Common.c  FMI2ModelExchange.c  FMICommon.c)
     5SET(fmi_sources  FMI2Common.c  FMI2ModelExchange.c)
    66
    7 SET(fmi_headers  FMI1Common.h  FMI2Common.h  FMICommon.h)
     7SET(fmi_headers  FMI2Common.h)
    88
    99# Library OpenModelicaFMIRuntimeC
     
    1313INSTALL(TARGETS OpenModelicaFMIRuntimeC
    1414    ARCHIVE DESTINATION lib/omc)
    15 
  • OMCompiler/SimulationRuntime/c/fmi/FMI2Common.c

    r83be5f2b rcae4ce05  
    3636
    3737/*
     38 * Used for logging import messages.
     39 */
     40void 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/*
    3846 * Used for logging FMU messages.
    3947 * Logger function used by the FMU 2.0 internally.
  • OMCompiler/SimulationRuntime/c/fmi/FMI2Common.h

    r83be5f2b rcae4ce05  
    3232#define FMI2COMMON__H_
    3333
    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
     44void importlogger(jm_callbacks* c, jm_string module, jm_log_level_enu_t log_level, jm_string message);
    3545
    3646/*
  • OMCompiler/SimulationRuntime/c/fmi/FMI2ModelExchange.c

    r83be5f2b rcae4ce05  
    3333#endif
    3434
    35 #include "FMICommon.h"
    3635#include "FMI2Common.h"
    3736
Note: See TracChangeset for help on using the changeset viewer.