From aa4d426b4d3527d7e166df1a05058c9a4a0f6683 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 30 Apr 2021 00:33:56 +0200 Subject: initial/final commit --- vmime-master/build_for_losedows.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 vmime-master/build_for_losedows.sh (limited to 'vmime-master/build_for_losedows.sh') diff --git a/vmime-master/build_for_losedows.sh b/vmime-master/build_for_losedows.sh new file mode 100755 index 0000000..55b242f --- /dev/null +++ b/vmime-master/build_for_losedows.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +rm -rf build/ +mkdir build/ + +# perhaps we'll also disable VMIME_HAVE_FILESYSTEM_FEATURES ? +## perhaps we should change CMAKE_BUILD_TYPE to Release or MinSizeRel. +cmake \ + -D GNU_HOST=i686-w64-mingw32 \ + -D CMAKE_TOOLCHAIN_FILE=./mingw_cross_toolchain.cmake \ + -D OPENSSL_ROOT_DIR=../openssl-1.1.0h/ \ + -D VMIME_TLS_SUPPORT_LIB=openssl \ + -D VMIME_HAVE_SASL_SUPPORT=OFF \ + -D VMIME_BUILD_DOCUMENTATION=OFF \ + -D VMIME_HAVE_MESSAGING_PROTO_SENDMAIL=OFF \ + -D VMIME_HAVE_MESSAGING_PROTO_MAILDIR=OFF \ + -D CMAKE_BUILD_TYPE=MinSizeRel. \ + -B build/ ./ + +cd build/ && make vmime-static +cd ../ +cp build/build/lib/libvmime.a . +cp build/src/vmime/config.hpp src/vmime/ -- cgit v1.2.3