-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_vim_win32.bat
executable file
·48 lines (46 loc) · 1.38 KB
/
build_vim_win32.bat
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@echo off
REM Build vim for Win64, Pentium4, with python, ruby and perl interpreters support
REM Python from \\mtlnetapp02b\GTGsiNewBuild\Tools\Python\python-2.7.3.amd64.msi
REM Perl from \\mtlnetapp02b\GTGsiNewBuild\Tools\Perl\ActivePerl-5.8.9.825-MSWin32-x64-288577.msi
REM -------------------------
REM Ruby from Github (https://github.com/ruby/ruby.git
REM to build ruby:
REM win32\configure --prefix=C:/ruby-x64 --target=x64-mswin64
REM nmake
REM nmake test
REM nmake install
REM (then you'll need to manually copy win32.h to ruby200\include\ruby-2.1.0\ruby)
REM ********************************************************
REM The directory separator MUST be backslash!
REM ********************************************************
setlocal
set CPU=AMD64
set CPUNR=pentium4
set WINVER=0x500
set OLE=yes
set GUI=yes
set FEATURES=HUGE
set NETBEANS=yes
set DYNAMIC_PYTHON=yes
set PYTHON=C:\Python27
set PYTHON_VER=27
set DYNAMIC_RUBY=yes
REM Doesn't work unless you compile with VC2008, until Ruby SDK gets release with VC2010-friendly headers
set RUBY=C:\ruby-x64
set RUBY_VER=19
set RUBY_VER_LONG=1.9.1
set RUBY_PLATFORM=x64-mswin64_80
set DYNAMIC_PERL=yes
set PERL=C:\Perl64
set PERL_VER=58
set SNIFF=yes
set CSCOPE=yes
set MBYTE=no
pushd ..\vim\src
nmake clean -f Make_mvc.mak
nmake all -f Make_mvc.mak
popd
set GUI=no
pushd src
nmake all -f Make_mvc.mak
popd