Skip to content

Commit

Permalink
- switch to new lib directories for msvc.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13530 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Oct 20, 2012
1 parent e7027a2 commit 1125a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Template/CodegenC.tpl
Expand Up @@ -2394,10 +2394,10 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__), simula
# /MD - link with MSVCRT.LIB
# /link - [linker options and libraries]
# /LIBPATH: - Directories where libs can be found
LDFLAGS=/MD /link /LIBPATH:"<%makefileParams.omhome%>/lib/omc/" f2c.lib initialization.lib libexpat.lib math-support.lib meta.lib ModelicaExternalC.lib results.lib simulation.lib solver.lib sundials_kinsol.lib sundials_nvecserial.lib util.lib
LDFLAGS=/MD /link /LIBPATH:"<%makefileParams.omhome%>/lib/omc/msvc/release/" f2c.lib initialization.lib libexpat.lib math-support.lib meta.lib ModelicaExternalC.lib results.lib simulation.lib solver.lib sundials_kinsol.lib sundials_nvecserial.lib util.lib

# /MDd link with MSVCRTD.LIB debug lib
# lib names should be appended with a d
# lib names should not be appended with a d just switch to lib/omc/msvc/debug


FILEPREFIX=<%fileNamePrefix%>
Expand Down

0 comments on commit 1125a3f

Please sign in to comment.