~ubuntu-branches/ubuntu/utopic/vice/utopic

« back to all changes in this revision

Viewing changes to src/arch/sdl/generate_msvcmips_project.bat

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2014-05-10 21:08:23 UTC
  • mfrom: (17.2.1 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20140510210823-r7x98jmpl1x7rgop
Tags: 2.4.dfsg+2.4.6-1ubuntu1
Use autotools-dev to update config.{sub,guess} for new arches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
if not exist ..\win32\vs_tmpl\mkmsvc.exe goto missingmkmsvc
 
3
echo generating MSVCMIPS project as winmips-msvc
 
4
if exist winmips-msvc goto removedir
 
5
:makemsvcdir
 
6
mkdir winmips-msvc
 
7
cd ..\win32\vs_tmpl
 
8
mkmsvc.exe -sdl -4 vice
 
9
cd ..\..\sdl
 
10
copy msvc-files\make-bindist-mips.bat.proto winmips-msvc\make-msvc-bindist.bat
 
11
copy msvc-files\dirent.h winmips-msvc
 
12
copy msvc-files\ide-config-mips.h winmips-msvc\ide-config.h
 
13
copy msvc-files\inttypes.h winmips-msvc
 
14
copy msvc-files\stdint.h winmips-msvc
 
15
echo MSVCMIPS project files generated in winmips-msvc
 
16
goto end
 
17
:missingmkmsvc
 
18
echo ..\win32\vs_tmpl\mkmsvc.exe is missing
 
19
goto end
 
20
:removedir
 
21
echo y | del winmips-msvc\*.* /S
 
22
rd winmips-msvc /s /q
 
23
if exist winmips-msvc goto cannotremovedir
 
24
goto makemsvcdir
 
25
:cannotremovedir
 
26
echo can't delete the winmips-msvc directory, please remove winmips-msvc manually and run this batch file again.
 
27
:end
 
28
pause