Files
libloot/scripts/install-step.travis.sh
T

41 lines
1.3 KiB
Bash
Raw Permalink Normal View History

2015-07-19 23:30:05 +01:00
#!/bin/bash
set -ev
# Currently inside the cloned repo path.
# Get the 3rd-party CMake modules.
wget -P build https://raw.githubusercontent.com/rpavlik/cmake-modules/master/GetGitRevisionDescription.cmake
wget -P build https://raw.githubusercontent.com/rpavlik/cmake-modules/master/GetGitRevisionDescription.cmake.in
cd ../..
# Install libespm.
wget https://github.com/WrinklyNinja/libespm/archive/master.tar.gz -O - | tar -xz
mv libespm-master libespm
# Build yaml-cpp
wget https://github.com/WrinklyNinja/yaml-cpp/archive/patched-for-loot.tar.gz -O - | tar -xz
mv yaml-cpp-patched-for-loot yaml-cpp
mkdir yaml-cpp/build && cd yaml-cpp/build
cmake ..
make yaml-cpp
cd ../..
# Build libgit2
2015-08-17 15:52:23 +01:00
wget https://github.com/libgit2/libgit2/archive/v0.23.1.tar.gz -O - | tar -xz
mv libgit2-0.23.1 libgit2
2015-07-19 23:30:05 +01:00
mkdir libgit2/build && cd libgit2/build
2015-07-20 09:19:10 +01:00
cmake .. -DBUILD_SHARED_LIBS=OFF
2015-07-19 23:30:05 +01:00
make git2
cd ../..
# Build libloadorder
wget https://github.com/WrinklyNinja/libloadorder/archive/master.tar.gz -O - | tar -xz
mv libloadorder-master libloadorder
mkdir libloadorder/build && cd libloadorder/build
2015-07-20 09:19:10 +01:00
cmake .. -DPROJECT_ARCH=64 -DPROJECT_STATIC_RUNTIME=OFF -DBUILD_SHARED_LIBS=OFF -DGTEST_ROOT=../gtest-1.7.0
2015-07-19 23:30:05 +01:00
make loadorder64
cd ../..
2015-08-24 16:41:20 +01:00
# Install pseudosem
2015-08-26 09:44:13 +01:00
wget https://github.com/WrinklyNinja/pseudosem/archive/1.0.1.tar.gz -O - | tar -xz
mv pseudosem-1.0.1 pseudosem