Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- static libraries are now created with each build of the cpp-runtime
- turn on static linking by using +d=runtimeStaticLinking of omc - cleanups and bug-fixes
- Loading branch information
Marcus Walther
committed
May 29, 2015
1 parent
e3c2d0a
commit 272e2c6
Showing
30 changed files
with
225 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 24 additions & 24 deletions
48
SimulationRuntime/cpp/Core/Modelica/ModelicaConfig_gcc.inc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
BOOST_LIBS = @Boost_LIBS_@ | ||
BOOST_INCLUDE = @Boost_INCLUDE_@ | ||
BOOST_LIBRARIES = @Boost_LIBRARIES_@ | ||
BOOST_LIBS=@Boost_LIBS_@ | ||
BOOST_INCLUDE=@Boost_INCLUDE_@ | ||
BOOST_LIBRARIES=@Boost_LIBRARIES_@ | ||
|
||
SUNDIALS_LIBS=@SUNDIALS_LIBS_@ | ||
SUNDIALS_INCLUDE= @SUNDIALS_INCLUDE_DIR_@ | ||
SUNDIALS_LIBRARIES = @SUNDIALS_LIBRARIES_@ | ||
SUNDIALS_INCLUDE=@SUNDIALS_INCLUDE_DIR_@ | ||
SUNDIALS_LIBRARIES=@SUNDIALS_LIBRARIES_@ | ||
|
||
LAPACK_LIBS = @LAPACK_LIBS_@ | ||
LAPACK_LIBRARIES = @LAPACK_LIBRARIES_@ | ||
LAPACK_LIBS=@LAPACK_LIBS_@ | ||
LAPACK_LIBRARIES=@LAPACK_LIBRARIES_@ | ||
|
||
UMFPACK_LIBS = @SUITESPARSE_UMFPACK_LIBS@ | ||
UMFPACK_INCLUDE = @UMFPACK_INCLUDE_@ | ||
UMFPACK_LIBRARIES = @UMFPACK_LIBRARIES_@ | ||
UMFPACK_LIBS=@SUITESPARSE_UMFPACK_LIBS@ | ||
UMFPACK_INCLUDE=@UMFPACK_INCLUDE_@ | ||
UMFPACK_LIBRARIES=@UMFPACK_LIBRARIES_@ | ||
|
||
INTEL_TBB_INCLUDE = @TBB_INCLUDE_DIR_@ | ||
INTEL_TBB_LIBRARIES = @INTEL_TBB_LIBS@ | ||
INTEL_TBB_INCLUDE=@TBB_INCLUDE_DIR_@ | ||
INTEL_TBB_LIBRARIES=@INTEL_TBB_LIBS@ | ||
|
||
PUGIXML_INCLUDE = @PUGIXML_INCLUDE_DIR_@ | ||
PUGIXML_LIBRARIES = @PUGIXML_LIBRARIES@ | ||
PUGIXML_INCLUDE=@PUGIXML_INCLUDE_DIR_@ | ||
PUGIXML_LIBRARIES=@PUGIXML_LIBRARIES@ | ||
|
||
MODELICA_SYSTEM_LIB_EXT = @MODELICA_SYSTEM_LIB_EXT@ | ||
FMI_ARCH_DIR = @FMI_ARCH_DIR@ | ||
LINUX_LIB_DL = @LINUX_LIB_DL@ | ||
BASE_LIB = @BASE_LIB@ | ||
PCH_FILE = @PCH_FILE@ | ||
H_FILE = @H_FILE@ | ||
BUILD_TYPE = @BUILD_TYPE@ | ||
SYSTEM_CFLAGS = @SYSTEM_CFLAGS@ | ||
ADDITIONAL_DEFINES = @ADDITIONAL_DEFINES@ | ||
RUNTIME_STATIC_LINKING = @RUNTIME_STATIC_LINKING@ | ||
MODELICA_SYSTEM_LIB_EXT=@MODELICA_SYSTEM_LIB_EXT@ | ||
FMI_ARCH_DIR=@FMI_ARCH_DIR@ | ||
LINUX_LIB_DL=@LINUX_LIB_DL@ | ||
BASE_LIB=@BASE_LIB@ | ||
PCH_FILE=@PCH_FILE@ | ||
H_FILE=@H_FILE@ | ||
BUILD_TYPE=@BUILD_TYPE@ | ||
SYSTEM_CFLAGS=@SYSTEM_CFLAGS@ | ||
ADDITIONAL_DEFINES=@ADDITIONAL_DEFINES@ | ||
RUNTIME_STATIC_LINKING=@RUNTIME_STATIC_LINKING@ |
30 changes: 15 additions & 15 deletions
30
SimulationRuntime/cpp/Core/Modelica/ModelicaLibraryConfig.inc.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
LIBOMCPPOMCFACTORY = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@OMCFactoryName@_static.a" | ||
LIBOMCPPSIMCONTROLLER = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@SimControllerName@_static.a" | ||
LIBOMCPPSIMULATIONSETTINGS = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@SimulationSettings@_static.a" | ||
LIBOMCPPSYSTEM = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@SystemName@_static.a" | ||
LIBOMCPPDATAEXCHANGE = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@DataExchangeName@_static.a" | ||
LIBOMCPPNEWTON = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@NewtonName@_static.a" | ||
LIBOMCPPKINSOL = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@KinsolName@_static.a" | ||
LIBOMCPPUMFPACK = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@UmfPackName@_static.a" | ||
LIBOMCPPIDA = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@IDAName@_static.a" | ||
LIBOMCPPCVODE = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@CVodeName@_static.a" | ||
LIBOMCPPPEER = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@PeerName@_static.a" | ||
LIBOMCPPSOLVER = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@SolverName@_static.a" | ||
LIBOMCPPMATH = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@MathName@_static.a" | ||
LIBOMCPPMODELICAUTILITIES = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@ModelicaUtilitiesName@.a" | ||
LIBOMCPPEXTENSIONUTILITIES = "$(OMHOME)/lib/omc/@LIBINSTALLEXT@/lib@ExtensionUtilitiesName@_static.a" | ||
LIBOMCPPOMCFACTORY = "$(OMHOME)/@LIBINSTALLEXT@/lib@OMCFactoryName@_static.a" | ||
LIBOMCPPSIMCONTROLLER = "$(OMHOME)/@LIBINSTALLEXT@/lib@SimControllerName@_static.a" | ||
LIBOMCPPSIMULATIONSETTINGS = "$(OMHOME)/@LIBINSTALLEXT@/lib@SimulationSettings@_static.a" | ||
LIBOMCPPSYSTEM = "$(OMHOME)/@LIBINSTALLEXT@/lib@SystemName@_static.a" | ||
LIBOMCPPDATAEXCHANGE = "$(OMHOME)/@LIBINSTALLEXT@/lib@DataExchangeName@_static.a" | ||
LIBOMCPPNEWTON = "$(OMHOME)/@LIBINSTALLEXT@/lib@NewtonName@_static.a" | ||
LIBOMCPPKINSOL = "$(OMHOME)/@LIBINSTALLEXT@/lib@KinsolName@_static.a" | ||
LIBOMCPPUMFPACK = "$(OMHOME)/@LIBINSTALLEXT@/lib@UmfPackName@_static.a" | ||
LIBOMCPPIDA = "$(OMHOME)/@LIBINSTALLEXT@/lib@IDAName@_static.a" | ||
LIBOMCPPCVODE = "$(OMHOME)/@LIBINSTALLEXT@/lib@CVodeName@_static.a" | ||
LIBOMCPPPEER = "$(OMHOME)/@LIBINSTALLEXT@/lib@PeerName@_static.a" | ||
LIBOMCPPSOLVER = "$(OMHOME)/@LIBINSTALLEXT@/lib@SolverName@_static.a" | ||
LIBOMCPPMATH = "$(OMHOME)/@LIBINSTALLEXT@/lib@MathName@_static.a" | ||
LIBOMCPPMODELICAUTILITIES = "$(OMHOME)/@LIBINSTALLEXT@/lib@ModelicaUtilitiesName@_static.a" | ||
LIBOMCPPEXTENSIONUTILITIES = "$(OMHOME)/@LIBINSTALLEXT@/lib@ExtensionUtilitiesName@_static.a" |
40 changes: 19 additions & 21 deletions
40
SimulationRuntime/cpp/Core/Utils/extension/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.