summaryrefslogtreecommitdiffstats
path: root/build/msvc/build_setup.bat
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-18 16:53:17 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-24 13:20:21 +0100
commit80d5397e251d8e12c8cd77efcacc54b9f7de3f0b (patch)
tree6a107420f7b6feb54429e6dbd1bb420f2f15d7b4 /build/msvc/build_setup.bat
parent09032e9dc99a7931f0d26f56322f8406d5462643 (diff)
downloadastra-80d5397e251d8e12c8cd77efcacc54b9f7de3f0b.tar.gz
astra-80d5397e251d8e12c8cd77efcacc54b9f7de3f0b.tar.bz2
astra-80d5397e251d8e12c8cd77efcacc54b9f7de3f0b.tar.xz
astra-80d5397e251d8e12c8cd77efcacc54b9f7de3f0b.zip
Add automated Windows build scripts
Diffstat (limited to 'build/msvc/build_setup.bat')
-rw-r--r--build/msvc/build_setup.bat37
1 files changed, 37 insertions, 0 deletions
diff --git a/build/msvc/build_setup.bat b/build/msvc/build_setup.bat
new file mode 100644
index 0000000..4314386
--- /dev/null
+++ b/build/msvc/build_setup.bat
@@ -0,0 +1,37 @@
+@echo off
+
+call "%~dp0build_env.bat"
+
+cd /D %~dp0
+cd ..\..
+set R=%CD%
+
+rd /s /q "%R%\lib\x64"
+rd /s /q "%R%\lib\include\boost"
+rd /s /q "%R%\bin\x64\Release_CUDA"
+
+cd /D "%B_BOOST%\lib64-msvc-14.0"
+
+mkdir "%R%\lib\x64"
+mkdir "%R%\bin\x64\Release_CUDA"
+
+copy boost_unit_test_framework-vc140-mt-%B_BV%.lib %R%\lib\x64
+copy boost_unit_test_framework-vc140-mt-gd-%B_BV%.lib %R%\lib\x64
+
+copy libboost_chrono-vc140-mt-%B_BV%.lib %R%\lib\x64
+copy libboost_chrono-vc140-mt-gd-%B_BV%.lib %R%\lib\x64
+
+copy libboost_date_time-vc140-mt-%B_BV%.lib %R%\lib\x64
+copy libboost_date_time-vc140-mt-gd-%B_BV%.lib %R%\lib\x64
+
+copy libboost_system-vc140-mt-%B_BV%.lib %R%\lib\x64
+copy libboost_system-vc140-mt-gd-%B_BV%.lib %R%\lib\x64
+
+copy libboost_thread-vc140-mt-%B_BV%.lib %R%\lib\x64
+copy libboost_thread-vc140-mt-gd-%B_BV%.lib %R%\lib\x64
+
+cd %B_BOOST%
+
+xcopy /i /e /q boost "%R%\lib\include\boost"
+
+pause