summaryrefslogtreecommitdiff
path: root/infrastructure/msvc
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-08-30 16:10:01 +0000
committerChris Wilson <chris+github@qwirx.com>2015-08-30 16:10:01 +0000
commite02682889bf5fade4d909299fd8da17633e81fca (patch)
tree5be5e8d66462a5c79633bc2ac55fbe7cc2bca13b /infrastructure/msvc
parent0482df32d510c706920a42e75d693e66583f7c2a (diff)
Move win32.bat into a subdirectory to tidy up.
Fix location of ClientException.txt.
Diffstat (limited to 'infrastructure/msvc')
-rw-r--r--infrastructure/msvc/win32.bat41
1 files changed, 41 insertions, 0 deletions
diff --git a/infrastructure/msvc/win32.bat b/infrastructure/msvc/win32.bat
new file mode 100644
index 00000000..6dc5ade7
--- /dev/null
+++ b/infrastructure/msvc/win32.bat
@@ -0,0 +1,41 @@
+@echo off
+
+echo quick and dirty to get up and running by generating the required files
+echo using Cygwin and Perl
+
+cd ..\..
+
+copy .\infrastructure\BoxPlatform.pm.in .\infrastructure\BoxPlatform.pm
+copy .\lib\common\BoxPortsAndFiles.h.in .\lib\common\BoxPortsAndFiles.h
+copy .\lib\common\BoxConfig-MSVC.h .\lib\common\BoxConfig.h
+
+cd .\bin\bbackupquery\ & perl ./../../bin/bbackupquery/makedocumentation.pl.in
+cd ..\..\
+
+cd .\lib\backupstore & perl ./../../lib/common/makeexception.pl.in BackupStoreException.txt & perl ./../../lib/server/makeprotocol.pl.in backupprotocol.txt
+cd ..\..\
+
+cd .\lib\compress & perl ./../../lib/common/makeexception.pl.in CompressException.txt
+cd ..\..\
+
+cd .\lib\common & perl ./../../lib/common/makeexception.pl.in CommonException.txt & perl ./../../lib/common/makeexception.pl.in ConversionException.txt
+cd ..\..\
+
+cd .\lib\raidfile & perl ./../../lib/common/makeexception.pl.in RaidFileException.txt
+cd ..\..\
+
+cd .\lib\backupclient & perl ./../../lib/common/makeexception.pl.in ClientException.txt
+cd ..\..\
+
+cd .\lib\crypto & perl ./../../lib/common/makeexception.pl.in CipherException.txt
+cd ..\..\
+
+echo server parts - which appears as though some of the clients rely on
+
+cd .\lib\server & perl ./../../lib/common/makeexception.pl.in ServerException.txt & perl ./../../lib/common/makeexception.pl.in ConnectionException.txt
+cd ..\..\
+
+perl -pe 's/@PERL@/perl/' ./test/bbackupd/testfiles/bbackupd.conf.in > .\test\bbackupd\testfiles\bbackupd.conf
+
+echo Generating InstallJammer configuration file
+perl infrastructure/msvc/fake-config.sub.pl ./contrib/windows/installer/boxbackup.mpi.in > ./contrib/windows/installer/boxbackup.mpi