build_run_all.bat 384 B

123456789101112131415161718192021222324252627
  1. @echo off
  2. mode 200,1000
  3. call build_all %1
  4. setlocal
  5. set FMUSDK_HOME=.
  6. rem enhance path to include open modelica dlls. THis is needed due to a bug in loading the dlls
  7. set PREV_PATH=%PATH%
  8. rem set PATH=%PATH%;C:\OpenModelica1.12.0-dev-32bit\bin
  9. echo Running Scenario
  10. bin\fmu20sim_cs.exe
  11. rem restore path
  12. set PATH=%PREV_PATH%
  13. endlocal
  14. if "%1"=="nopause" goto skip
  15. pause
  16. :skip