Outsourced build test script.
This commit is contained in:
parent
cc9654593e
commit
dfde5a646b
4
.gitignore
vendored
4
.gitignore
vendored
@ -30,6 +30,10 @@ doc/html/*
|
|||||||
/COPYING.txt
|
/COPYING.txt
|
||||||
/build/
|
/build/
|
||||||
|
|
||||||
|
# Outsourced build test
|
||||||
|
/_build/
|
||||||
|
/_install/
|
||||||
|
|
||||||
# CTest-generated files
|
# CTest-generated files
|
||||||
/CTestTestfile.cmake
|
/CTestTestfile.cmake
|
||||||
/Testing/
|
/Testing/
|
||||||
|
12
test-outsourced-build.sh
Executable file
12
test-outsourced-build.sh
Executable file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user