forked from imapsync/imapsync
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build_exe.bat
35 lines (28 loc) · 1.02 KB
/
build_exe.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
REM $Id: build_exe.bat,v 1.22 2014/05/21 01:15:28 gilles Exp gilles $
@ECHO OFF
ECHO Building imapsync.exe
cd /D %~dp0
CALL .\examples\install_modules.bat
perl -mMail::IMAPClient ^
-mIO::Socket -mIO::Socket::IP -mIO::Socket::SSL -mIO::Socket::INET ^
-mDigest::MD5 -mDigest::HMAC_MD5 -mDigest::HMAC_SHA1 ^
-mTerm::ReadKey -mFile::Spec -mAuthen::NTLM ^
-mTime::Local -mURI::Escape -mData::Uniqid ^
-mFile::Copy::Recursive ^
-mIO::Tee ^
-e ''
cd
@ECHO ON
pp -o imapsync.exe ^
--link libeay32_.dll --link libssl32_.dll ^
--link zlib1_.dll --link ssleay32_.dll ^
-M Mail::IMAPClient ^
-M IO::Socket -M IO::Socket::IP -M IO::Socket::SSL -M IO::Socket::INET ^
-M Digest::MD5 -M Digest::HMAC_MD5 -M Digest::HMAC_SHA1 ^
-M Term::ReadKey -M File::Spec -M Authen::NTLM ^
-M Time::Local -M URI::Escape -M Data::Uniqid ^
-M File::Copy::Recursive ^
-M IO::Tee ^
imapsync
echo Done building imapsync.exe
pause