Skip to content

Commit

Permalink
changed the name for the simulation executable of the cpp runtime to …
Browse files Browse the repository at this point in the history
…[Model].exe

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25291 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
niklwors committed Mar 27, 2015
1 parent d8bd7a3 commit 31c55da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -1676,7 +1676,7 @@ template simulationMainRunScript(SimCode simCode ,Text& extraFuncs,Text& extraFu
<<
#!/bin/sh
<%preRunCommandLinux%>
<%execCommandLinux%> ./OMCpp<%fileNamePrefixx%>Main <%execParameters%> $*
<%execCommandLinux%> ./<%fileNamePrefixx%> <%execParameters%> $*
>>
case "win32"
case "win64" then
Expand All @@ -1685,7 +1685,7 @@ template simulationMainRunScript(SimCode simCode ,Text& extraFuncs,Text& extraFu
<%preRunCommandWindows%>
REM ::export PATH=<%libFolder%>:$PATH REPLACE C: with /C/
SET PATH=<%home%>/bin;<%libFolder%>;<%libPaths%>;%PATH%
<%moLib%>/OMCpp<%fileNamePrefixx%>Main.exe <%execParameters%>
<%moLib%>/<%fileNamePrefixx%>.exe <%execParameters%>
>>
end match
end match
Expand Down Expand Up @@ -2810,7 +2810,7 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__), simula
PREVARSFILE=OMCpp<%fileNamePrefix%>PreVariables.cpp
SYSTEMFILE=OMCpp<%fileNamePrefix%><% if acceptMetaModelicaGrammar() then ".conv"%>.cpp
MAINFILE = OMCpp<%fileNamePrefix%>Main.cpp
MAINOBJ=OMCpp<%fileNamePrefix%>Main$(EXEEXT)
MAINOBJ=<%fileNamePrefix%>$(EXEEXT)
SYSTEMOBJ=OMCpp<%fileNamePrefix%>$(DLLEXT)

CALCHELPERMAINFILE=OMCpp<%fileNamePrefix%>CalcHelperMain.cpp
Expand Down Expand Up @@ -2870,7 +2870,7 @@ case "gcc" then
CPPFLAGS = $(CFLAGS) <%extraCppFlags%>
SYSTEMFILE=OMCpp<%fileNamePrefix%><% if acceptMetaModelicaGrammar() then ".conv"%>.cpp
MAINFILE = OMCpp<%fileNamePrefix%>Main.cpp
MAINOBJ=OMCpp<%fileNamePrefix%>Main$(EXEEXT)
MAINOBJ=<%fileNamePrefix%>$(EXEEXT)
SYSTEMOBJ=OMCpp<%fileNamePrefix%>$(DLLEXT)

CALCHELPERMAINFILE=OMCpp<%fileNamePrefix%>CalcHelperMain.cpp
Expand Down

0 comments on commit 31c55da

Please sign in to comment.