Skip to content

Commit

Permalink
Build cppruntime into OMBUILDDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 12, 2015
1 parent 3a51e34 commit 29cd04e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Makefile.in
Expand Up @@ -46,7 +46,7 @@ endif
ifneq ("$(USE_SUNDIALS_LAPACK)","true")
$(eval SUNDIALS_LAPACK_COMMAND=)
endif
cd ./Build && echo "change to Build" && $(CMAKE_COMMANDS) cmake $(RUNTIME_STATIC_LINKING_COMMAND) $(BOOST_STATIC_LINKING_COMMAND) $(BOOST_REALPATHS_COMMAND) $(PARALLEL_OUTPUT_COMMAND) $(RUNTIME_PROFILING_COMMAND) $(SCOREP_COMMAND) $(SUNDIALS_LAPACK_COMMAND) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" -DLIBINSTALLEXT=lib/@host_short@/omc/cpp $(CMAKE_ARGS) ../
cd ./Build && echo "change to Build" && $(CMAKE_COMMANDS) cmake $(RUNTIME_STATIC_LINKING_COMMAND) $(BOOST_STATIC_LINKING_COMMAND) $(BOOST_REALPATHS_COMMAND) $(PARALLEL_OUTPUT_COMMAND) $(RUNTIME_PROFILING_COMMAND) $(SCOREP_COMMAND) $(SUNDIALS_LAPACK_COMMAND) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH="@OMBUILDDIR@" -DLIBINSTALLEXT=lib/@host_short@/omc/cpp $(CMAKE_ARGS) ../
$(MAKE) -C Build VERBOSE=1

install: runtimeCpp
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Makefile.omdev.mingw
Expand Up @@ -18,11 +18,11 @@ CMAKE = $(OMDEV)/bin/cmake/bin/cmake -DCMAKE_VERBOSE_MAKEFILE:Bool=ON
runtimeCpp: clean
ifeq ("$(RUNTIME_STATIC_LINKING)","true")
cd ./Build; echo "change to Build"; \
$(CMAKE) -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=RelWithDebInfo -DRUNTIME_STATIC_LINKING=ON -D CMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" MAKE_CXX_COMPILER=g++ ../; \
$(CMAKE) -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=RelWithDebInfo -DRUNTIME_STATIC_LINKING=ON -D CMAKE_INSTALL_PREFIX:PATH="$(OMBUILDDIR)" MAKE_CXX_COMPILER=g++ ../; \
make;
else
cd ./Build; echo "change to Build"; \
$(CMAKE) -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" MAKE_CXX_COMPILER=g++ ../; \
$(CMAKE) -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH="$(OMBUILDDIR)" MAKE_CXX_COMPILER=g++ ../; \
make;
endif

Expand Down

0 comments on commit 29cd04e

Please sign in to comment.