diff --git a/cmake/Modules/InstallMCCODE.cmake b/cmake/Modules/InstallMCCODE.cmake index 8bb61020a..74241ce8c 100644 --- a/cmake/Modules/InstallMCCODE.cmake +++ b/cmake/Modules/InstallMCCODE.cmake @@ -415,7 +415,7 @@ macro(installMCCODE) install(PROGRAMS ${WORK}/support/${FLAVOR}-labenv.bat DESTINATION "${DEST_BINDIR}") # Python/Perl related batches special handling - foreach (name run.bat doc.bat test.bat viewtest.bat resplot.bat plot.bat display.bat gui.bat guistart.bat plot-pyqtgraph.bat plot-matplotlib.bat plot-matlab.bat display-webgl.bat display-webgl-classic.bat display-pyqtgraph.bat display-cad.bat display-matplotlib.bat display-mantid.bat display-matlab.bat) + foreach (name run.bat doc.bat test.bat viewtest.bat resplot.bat plot.bat display.bat gui.bat guistart.bat plot-pyqtgraph.bat plot-matplotlib.bat plot-matlab.bat plot-html.bat display-webgl.bat display-webgl-classic.bat display-pyqtgraph.bat display-cad.bat display-matplotlib.bat display-mantid.bat display-matlab.bat) configure_file( cmake/support/run-scripts/${name}.in work/support/${MCCODE_PREFIX}${name} diff --git a/cmake/support/run-scripts/plot-html.bat.in b/cmake/support/run-scripts/plot-html.bat.in new file mode 100644 index 000000000..fe654049b --- /dev/null +++ b/cmake/support/run-scripts/plot-html.bat.in @@ -0,0 +1,4 @@ +@REM Isn't windows a lovely place??? +@set BINDIR=%~dp0 +@python -u %BINDIR%\@MCCODE_RELPATH_BINDIR2TOOLDIR@\Python\@MCCODE_PREFIX@plot\html\@MCCODE_PREFIX@plot.py %* +