Skip to content

Commit

Permalink
- fix +target=msvc (include msvc)
Browse files Browse the repository at this point in the history
  fix copying of files needed for +target=msvc
  add needed files to SimulationRuntime/c/meta/CMakeLists.txt
- fix copying of include files for Ipopt


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17286 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 17, 2013
1 parent afdd3eb commit fa0b7b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3368,7 +3368,7 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__), simula
# /I - Include Directories
# /DNOMINMAX - Define NOMINMAX (does what it says)
# /TP - Use C++ Compiler
CFLAGS=/Od /ZI /EHa /fp:except /I"<%makefileParams.omhome%>/include/omc" /I. /DNOMINMAX /TP /DNO_INTERACTIVE_DEPENDENCY /DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME
CFLAGS=/Od /ZI /EHa /fp:except /I"<%makefileParams.omhome%>/include/omc" /I"<%makefileParams.omhome%>/include/omc/msvc/" /I. /DNOMINMAX /TP /DNO_INTERACTIVE_DEPENDENCY /DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME

# /ZI enable Edit and Continue debug info
CDFLAGS = /ZI
Expand Down
2 changes: 2 additions & 0 deletions SimulationRuntime/c/meta/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ SET(META_SRC meta_modelica_builtin.c
meta_modelica_catch.c
meta_modelica.c
meta_modelica_real.c
meta_modelica_segv.c
gc/mmc_gc.c
gc/common.c
gc/roots.c
Expand All @@ -15,6 +16,7 @@ SET(META_HFILES rml_compatibility.h
meta_modelica_builtin.h
meta_modelica_builtin_boxptr.h
meta_modelica_real.h
meta_modelica_segv.h
meta_modelica_string_lit.h
meta_modelica.h
gc/mmc_gc.h
Expand Down

0 comments on commit fa0b7b9

Please sign in to comment.