noloader / cryptopp-cmake

CMake files for Crypto++ project
BSD 3-Clause "New" or "Revised" License
92 stars 67 forks source link

cryptest-cmake.sh now available #14

Closed noloader closed 6 years ago

noloader commented 6 years ago

Hi Everyone,

cryptest-cmake.sh now available in TestScripts. The script downloads the CMake files to $(PWD), creates a build directory, and then builds the library and executes self tests.

To use the script:

cd cryptopp
git pull
cp TestScripts/cryptest-cmake.sh .
./cryptest-cmake.sh

After the script runs the CMake files are left in place so they can be used again in the future.

There is also a cryptest-autotools.sh that works the same way for Autotools.

jcfr commented 6 years ago

It may also be sensible to enable continuous integration of pull request by doing something like this in Travis and Appveyor:

git clone https://github.com/weidai11/cryptopp /tmp/tmp/cryptopp-source
mkdir build && cd $_
cmake -DSRC_DIR:PATH=/tmp/tmp/cryptopp-source ../
make
ctest
noloader commented 6 years ago

@jcfr,

I enabled AppVeyor and Travis services for both Autotools and CMake.

Let me know what else you need. noloader, gmail account.