summaryrefslogtreecommitdiffstats
path: root/build/msvc/build_setup.bat
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2016-11-24 04:25:02 -0800
committerGitHub <noreply@github.com>2016-11-24 04:25:02 -0800
commitc4b5018ca57213601d0b31139be8c4268a308910 (patch)
tree6a107420f7b6feb54429e6dbd1bb420f2f15d7b4 /build/msvc/build_setup.bat
parentfc43ab40e6aaed28ecbeb904b3ec5d67f2ded77c (diff)
parent80d5397e251d8e12c8cd77efcacc54b9f7de3f0b (diff)
downloadastra-c4b5018ca57213601d0b31139be8c4268a308910.tar.gz
astra-c4b5018ca57213601d0b31139be8c4268a308910.tar.bz2
astra-c4b5018ca57213601d0b31139be8c4268a308910.tar.xz
astra-c4b5018ca57213601d0b31139be8c4268a308910.zip
Merge pull request #74 from wjp/windows
Move to VS2015+CUDA8 and automate Windows builds
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