diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-07-11 22:40:11 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-07-11 22:40:11 +0000 |
| commit | cd9ae1abd5b926331116bfbc6a71f517f3c34c90 (patch) | |
| tree | 5b47215451049b689062e4eaba9482bc5acff9ca /CodeWarrior/Win32/installFLTK.bat | |
| parent | 9feef1e696525f8969970394ec3695944f403b79 (diff) | |
Added Metrowerks CodeWarrior support for Windows (MacOS soon to come)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CodeWarrior/Win32/installFLTK.bat')
| -rwxr-xr-x | CodeWarrior/Win32/installFLTK.bat | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/CodeWarrior/Win32/installFLTK.bat b/CodeWarrior/Win32/installFLTK.bat new file mode 100755 index 000000000..cfffb3199 --- /dev/null +++ b/CodeWarrior/Win32/installFLTK.bat @@ -0,0 +1,56 @@ +@echo off
+
+echo FLTK library installation for Metrowerks' CodeWarrior
+echo .
+
+:: --- copy FLTK header files into Win32 support directory
+
+if exist "%CWFOLDER%" goto copyHeaders
+
+echo ERROR: Can't copy headers files
+echo Codewarrior header files folder not found
+goto skipHeaderCopy
+
+:copyHeaders
+echo Copying header files...
+xcopy /Y /C /E /I /Q ..\..\FL "%CWFOLDER%\Win32-x86 FLTK\Headers\FL"
+
+:skipHeaderCopy
+
+
+:: --- copy FLTK libraries into Win32 support directory
+
+if exist "%CWFOLDER%" goto copyLibs
+
+echo ERROR: Can't copy libraries
+echo Codewarrior libraries folder not found
+goto skipLibsCopy
+
+:copyLibs
+echo Copying libraries...
+xcopy /Y /C /E /I /Q ..\..\lib "%CWFOLDER%\Win32-x86 FLTK\Libraries"
+
+:skipLibsCopy
+
+:: --- copy FLTK dll into test directory to make 'editor' test work
+
+echo Copying dll to 'test'...
+xcopy /Y /Q ..\..\lib\fltkdll.dll ..\..\test
+
+:: --- copy FLTK stationary into stationary directory
+
+if exist "%CWFOLDER%\Stationery\Win32 C++" goto copyStat
+
+echo ERROR: Can't copy stationary
+echo Codewarrior stationary folder not found
+goto skipStatCopy
+
+:copyStat
+echo Copying FLTK stationary...
+xcopy /Y /C /E /I /Q "stationary" "%CWFOLDER%\Stationery\Win32 C++\WIN32 FLTK GUI App"
+
+:skipStatCopy
+
+echo .
+pause
+
|
