DynuIPRefresher/Docker/Windows_Conan/build.sh

25 lines
598 B
Bash
Raw Permalink Normal View History

2021-03-15 19:03:26 +00:00
#!/bin/bash
# Install texlive
echo "instaling cmake" && \
dnf install -y mingw64-gcc-c++ cmake make mingw32-nsis gtest gtest-devel python3 python3-pip git perl
2021-03-15 19:03:26 +00:00
#cleanup
dnf clean dbcache && dnf clean packages
# install conan
pip3 install conan
git clone https://gitlab.heili.eu/lukas/dynuiprefresher.git
cd dynuiprefresher || exit
git checkout conansupport
mkdir -p build # create build folder
2021-04-09 13:46:53 +00:00
CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing --profile mingw64.profile
2021-03-15 19:03:26 +00:00
# cleanup
conan remove "*" -s -b -f
cd ..
rm -Rf ./dynuiprefresher
rm /tmp/build.sh