File: copy-boost-to-includes.bat

package info (click to toggle)
fife 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,708 kB
  • sloc: cpp: 42,641; xml: 18,881; python: 13,555; makefile: 22
file content (23 lines) | stat: -rw-r--r-- 1,600 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off

echo "=== Copy the pre-installed Boost to the includes folder"

:: create folders
mkdir C:\projects\fifengine-dependencies\includes\lib\boost
mkdir C:\projects\fifengine-dependencies\includes\include\boost

:: copy boost includes
xcopy /Y /S "C:\Libraries\boost_1_67_0\boost" "C:\projects\fifengine-dependencies\includes\include\boost" >nul 2>&1

:: copy binaries (dlls) and libs
copy "C:\Libraries\boost_1_67_0\lib32-msvc-14.1\boost_filesystem-vc141-mt-x32-1_67.dll" "C:\projects\fifengine-dependencies\includes\bin\boost_filesystem-vc141-mt-x32-1_67.dll"
copy "C:\Libraries\boost_1_67_0\lib32-msvc-14.1\boost_system-vc141-mt-x32-1_67.dll" "C:\projects\fifengine-dependencies\includes\bin\boost_system-vc141-mt-x32-1_67.dll"
:: copy "C:\Libraries\boost_1_67_0\lib32-msvc-14.1\boost_python27-vc141-mt-x32-1_67.dll" "C:\projects\fifengine-dependencies\includes\bin\boost_python27-vc141-mt-x32-1_67.dll"
copy "C:\Libraries\boost_1_67_0\lib32-msvc-14.1\libboost_filesystem-vc141-mt-x32-1_67.lib" "C:\projects\fifengine-dependencies\includes\lib\boost\libboost_filesystem-vc141-mt-x32-1_67.lib"
copy "C:\Libraries\boost_1_67_0\lib32-msvc-14.1\libboost_system-vc141-mt-x32-1_67.lib" "C:\projects\fifengine-dependencies\includes\lib\boost\libboost_system-vc141-mt-x32-1_67.lib"
:: copy "C:\Libraries\boost_1_67_0\lib32-msvc-14.1\libboost_python27-vc141-mt-x32-1_67.lib" "C:\projects\fifengine-dependencies\includes\lib\boost\libboost_python27-vc141-mt-x32-1_67.lib"

:: remove the "share" folder
rmdir /S /Q C:\projects\fifengine-dependencies\includes\share

echo "Done."