summaryrefslogtreecommitdiff
path: root/CodeWarrior/Win32/installFluid.bat
blob: fba43038163ea5d80fed11ad541d40c7ac3cd5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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