summaryrefslogtreecommitdiff
path: root/CodeWarrior/Win32/installFluid.bat
diff options
context:
space:
mode:
Diffstat (limited to 'CodeWarrior/Win32/installFluid.bat')
-rwxr-xr-xCodeWarrior/Win32/installFluid.bat27
1 files changed, 27 insertions, 0 deletions
diff --git a/CodeWarrior/Win32/installFluid.bat b/CodeWarrior/Win32/installFluid.bat
new file mode 100755
index 000000000..fba430381
--- /dev/null
+++ b/CodeWarrior/Win32/installFluid.bat
@@ -0,0 +1,27 @@
+@echo off
+
+echo FLTK Fluid plugin installation for Metrowerks' CodeWarrior
+echo .
+
+:: --- copy Fluid and Fluid Plugin into the CW directories
+
+if exist "%CWFOLDER%\Bin\Plugins\Compiler" goto copyPlugin
+
+echo ERROR: Can't Fluid Plugin
+echo Codewarrior Plugin folder not found
+goto skipPluginCopy
+
+:copyPlugin
+echo Copying Fluid Plugin...
+copy ..\..\fluid\fluid.exe "%CWFOLDER%\Bin\Plugins\Compiler"
+copy ..\..\fluid\FluidCompiler.dll "%CWFOLDER%\Bin\Plugins\Compiler"
+
+:skipPluginCopy
+
+echo .
+echo Metrowerks CodeWarrior needs to be restarted to make the
+echo Fluid Plugin available. Please restart CodeWarrior now
+echo to compile the FLTK Test and Demo files.
+echo .
+pause
+