Skip to content

Commit

Permalink
Link Modelica utils and extra libs to Cpp FMUs
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke committed Apr 13, 2016
1 parent 58a87b7 commit 8cf1a8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/Template/CodegenFMUCpp.tpl
Expand Up @@ -774,8 +774,9 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__), simula
BINARIES=<%fileNamePrefix%>$(DLLEXT)

OMCPP_LIBS=-lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static $(OMCPP_SOLVER_LIBS) -lOMCppExtensionUtilities_static
MODELICA_EXTERNAL_LIBS=-lModelicaExternalC -lModelicaStandardTables
LIBS=$(OMCPP_LIBS) $(MODELICA_EXTERNAL_LIBS) $(BASE_LIB)
MODELICA_EXTERNAL_LIBS=-lModelicaExternalC -lModelicaStandardTables -lOMCppModelicaUtilities_static
EXTRA_LIBS=<%dirExtra%> <%libsExtra%>
LIBS=$(OMCPP_LIBS) $(MODELICA_EXTERNAL_LIBS) $(BASE_LIB) $(EXTRA_LIBS)

# link with simple dgesv or full lapack
ifeq ($(USE_DGESV),ON)
Expand Down

0 comments on commit 8cf1a8f

Please sign in to comment.