-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from vkresch/master
Update installation and fixing minor bugs
- Loading branch information
Showing
6 changed files
with
39 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,26 +32,27 @@ License++ is software licensing library that provides an abstract way to secure | |
* [Download](https://github.com/amrayn/licensepp/archive/master.zip) or [clone]([email protected]:amrayn/licensepp.git) the repository | ||
* Install Crypto++ | ||
``` | ||
wget https://amrayn.github.io/downloads/cryptocpp.tar.gz | ||
tar xf cryptocpp.tar.gz | ||
cd cryptopp-CRYPTOPP_5_6_5 | ||
wget https://amrayn.github.io/downloads/pem_pack.zip | ||
unzip pem_pack.zip | ||
cmake . | ||
git clone https://github.com/amrayn/licensepp | ||
git clone https://github.com/weidai11/cryptopp.git | ||
git clone https://github.com/amraynweb/cryptopp-pem.git | ||
cp cryptopp-pem/* cryptopp/ | ||
cd cryptopp | ||
make | ||
make install | ||
sudo make install | ||
``` | ||
* Use CMake to build the project | ||
``` | ||
cd <project_root> | ||
cd licensepp | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make install | ||
make | ||
sudo make install | ||
## build with test | ||
cmake -Dtest=ON .. | ||
make install | ||
make | ||
sudo make install | ||
./licensepp-unit-tests | ||
``` | ||
* You can build [cli](/cli) tool to ensure license++ is installed properly | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters