diff options
author | Vincent Richard <[email protected]> | 2013-06-07 08:18:10 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-06-07 08:18:10 +0000 |
commit | dfde5a646b2736962729c7061e2f818e9965dbd5 (patch) | |
tree | f1236f79cd2a0327f9bfdcec2705a764a833de80 | |
parent | Fixed issue #44. (diff) | |
download | vmime-dfde5a646b2736962729c7061e2f818e9965dbd5.tar.gz vmime-dfde5a646b2736962729c7061e2f818e9965dbd5.zip |
Outsourced build test script.
-rw-r--r-- | .gitignore | 4 | ||||
-rwxr-xr-x | test-outsourced-build.sh | 12 |
2 files changed, 16 insertions, 0 deletions
@@ -30,6 +30,10 @@ doc/html/* /COPYING.txt /build/ +# Outsourced build test +/_build/ +/_install/ + # CTest-generated files /CTestTestfile.cmake /Testing/ diff --git a/test-outsourced-build.sh b/test-outsourced-build.sh new file mode 100755 index 00000000..6858beec --- /dev/null +++ b/test-outsourced-build.sh @@ -0,0 +1,12 @@ +#!/bin/bash +rm -rf _build _install +mkdir _build _install +cd _build +rm -f ../CMakeCache.txt ../vmime/config.hpp ../vmime/export-static.hpp ../vmime/export-shared.hpp +#cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DVMIME_BUILD_SHARED_LIBRARY=NO +#cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DVMIME_BUILD_TESTS=YES +cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DVMIME_BUILD_TESTS=YES -DVMIME_TLS_SUPPORT_LIB_IS_OPENSSL=ON -DVMIME_TLS_SUPPORT_LIB_IS_GNUTLS=OFF -DCMAKE_BUILD_TYPE=Release +cmake .. -L +make +make install + |