Skip to content

Commit

Permalink
- add make files for cpp runtime call cmake
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12104 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Jun 19, 2012
1 parent 2caac13 commit c0ca49e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions SimulationRuntime/cpp/Makefile
@@ -0,0 +1,21 @@
# Adrian Pop, adrpo@ida.liu.se, 2006-02-01
# Makefile for compilation of OMC using OMDev-mingw
# OMDev-mingw: http://www.ida.liu.se/~adrpo/omc/omdev/

top_builddir = ../../..
builddir_build=$(top_builddir)/build
builddir_bin=$(top_builddir)/build/bin
builddir_lib=$(top_builddir)/build/lib/omc
builddir_inc=$(top_builddir)/build/include/omc

runtimeCpp:
cd ./Build; echo "change to Build"; \
cmake -D CMAKE_INSTALL_PREFIX:PATH="$(builddir_build)" MAKE_CXX_COMPILER=g++ ../Source; \
make

install: runtimeCpp
(cd Build; make install)

clean:
rm -R -f Build
mkdir Build

0 comments on commit c0ca49e

Please sign in to comment.