add a mingw profile

This commit is contained in:
lukas 2021-04-09 15:46:53 +02:00
parent 87c9b932ff
commit 366cc46ecf
3 changed files with 3 additions and 5 deletions

View File

@ -13,10 +13,8 @@ git clone https://gitlab.heili.eu/lukas/dynuiprefresher.git
cd dynuiprefresher || exit
git checkout conansupport
conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
mkdir -p build # create build folder
CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing
CONAN_SYSREQUIRES_MODE=enabled CONAN_SYSREQUIRES_SUDO=0 conan install . --build=missing --profile mingw64.profile
# cleanup

View File

@ -1,6 +1,5 @@
[requires]
libcurl/7.72.0
openssl/1.1.1i
[generators]
cmake

View File

@ -22,6 +22,7 @@ arch=x86_64
compiler=gcc
# Adjust to the gcc version of your MinGW package
compiler.version=7.3
compiler.version=10
compiler.libcxx=libstdc++11
compiler.threads=posix
build_type=Release