Skip to content

Commit

Permalink
- increased memory for precompiled headers (MSVC)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Walther authored and OpenModelica-Hudson committed Nov 19, 2015
1 parent fb0cb73 commit 920eedf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions SimulationRuntime/cpp/CMakeLists.txt
Expand Up @@ -97,6 +97,10 @@ ELSE(USE_BOOST_REALPATHS)
MESSAGE(STATUS "Boost real paths disabled")
ENDIF(USE_BOOST_REALPATHS)

# Precompiled Header
IF(MSVC)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm113")
ENDIF(MSVC)
INCLUDE(${CMAKE_SOURCE_DIR}/PrecompiledHeader.cmake)

# Check C++11
Expand Down
1 change: 0 additions & 1 deletion SimulationRuntime/cpp/Makefile.omdev.mingw
Expand Up @@ -9,7 +9,6 @@ builddir_lib=$(OMBUILDDIR)/lib/omc
builddir_inc=$(OMBUILDDIR)/include/omc

#use this call to use precompiled headers
#BUILDTYPE = Release
#use this call if you want to debug the cpp runtime
ifeq ($(BUILDTYPE),)
BUILDTYPE=Debug
Expand Down

0 comments on commit 920eedf

Please sign in to comment.