Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
fix for ticket:4459 and ticket:4491
Browse files Browse the repository at this point in the history
- support both BuildType and BUILDTYPE on command line
- update 3rdParty/ModelicaExternalC tables C source code to the latest version from MSL:
  modelica/ModelicaStandardLibrary@8209e73
  • Loading branch information
adrpo committed Sep 25, 2017
1 parent a633fbb commit 555e13e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Makefile.omdev.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ifeq ($(OMBUILDDIR),)
OMBUILDDIR=$(CURDIR)/build
endif

ifeq ($(BUILDTYPE),)
BUILDTYPE=$(BuildType)
endif
ifeq ($(BUILDTYPE),)
BUILDTYPE=Debug
endif
Expand Down
9 changes: 5 additions & 4 deletions SimulationRuntime/cpp/Makefile.omdev.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ CMAKE = $(OMDEVMSYS)/bin/cmake/bin/cmake -DCMAKE_VERBOSE_MAKEFILE:Bool=ON
OMDEVMSYS=$(shell cygpath $$OMDEV)

ifeq ($(BUILDTYPE),)
BUILDTYPE=Debug
BUILDTYPE=$(BuildType)
endif
ifeq ($(BUILDTYPE),)
BUILDTYPE=Debug
endif



ifeq (MINGW32,$(findstring MINGW32,$(shell uname)))
IS_MINGW32 = -DIS_MINGW32=ON
Expand Down Expand Up @@ -154,7 +155,7 @@ runtimeCpp:

runtimeCPPmsvc: getMSVCversion
test -f """${VSCOMNTOOLS}/../../VC/vcvarsall.bat"""
echo 'Build the cppRuntime with MSVC'
echo 'Build the cppRuntime with MSVC' buildtype: $(BUILDTYPE)
#rm -rf Build_MSVC
mkdir -p Build_MSVC
echo call '"${VSCOMNTOOLS}\\..\\..\\VC\\vcvarsall.bat"' > Build_MSVC/build.bat
Expand Down

0 comments on commit 555e13e

Please sign in to comment.