1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/build_exe.bat

36 lines
1.0 KiB
Batchfile
Raw Normal View History

2013-07-06 00:26:28 +02:00
2014-05-30 03:56:21 +02:00
REM $Id: build_exe.bat,v 1.22 2014/05/21 01:15:28 gilles Exp gilles $
2013-07-06 00:26:28 +02:00
@ECHO OFF
ECHO Building imapsync.exe
cd /D %~dp0
2013-08-04 03:27:37 +02:00
CALL .\examples\install_modules.bat
2014-05-30 03:56:21 +02:00
perl -mMail::IMAPClient ^
-mIO::Socket -mIO::Socket::IP -mIO::Socket::SSL -mIO::Socket::INET ^
2013-07-06 00:26:28 +02:00
-mDigest::MD5 -mDigest::HMAC_MD5 -mDigest::HMAC_SHA1 ^
-mTerm::ReadKey -mFile::Spec -mAuthen::NTLM ^
-mTime::Local -mURI::Escape -mData::Uniqid ^
2014-05-30 03:56:21 +02:00
-mFile::Copy::Recursive ^
-mIO::Tee ^
-e ''
2013-07-06 00:26:28 +02:00
cd
@ECHO ON
pp -o imapsync.exe ^
--link libeay32_.dll --link libssl32_.dll ^
--link zlib1_.dll --link ssleay32_.dll ^
2014-05-30 03:56:21 +02:00
-M Mail::IMAPClient ^
-M IO::Socket -M IO::Socket::IP -M IO::Socket::SSL -M IO::Socket::INET ^
2013-07-06 00:26:28 +02:00
-M Digest::MD5 -M Digest::HMAC_MD5 -M Digest::HMAC_SHA1 ^
2014-05-30 03:56:21 +02:00
-M Term::ReadKey -M File::Spec -M Authen::NTLM ^
2013-07-06 00:26:28 +02:00
-M Time::Local -M URI::Escape -M Data::Uniqid ^
2013-10-18 02:11:27 +02:00
-M File::Copy::Recursive ^
2014-05-30 03:56:21 +02:00
-M IO::Tee ^
2013-07-06 00:26:28 +02:00
imapsync
echo Done building imapsync.exe
pause