-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update INSTALL build with cmake and debugging enable
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
To install | ||
|
||
./bootstrap | ||
./configure (plus arguments) | ||
make | ||
sudo make install | ||
- mkdir build && cd build | ||
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. | ||
- make && sudo make install | ||
|
||
To build with support debugging that enable example and test cases. | ||
|
||
To build the examples specify --enable-examples to configure. | ||
- mkdir build && cd build | ||
- cmake -DENABLE_UTILS=yes \ | ||
-DENABLE_EXAMPLES=yes \ | ||
-DENABLE_TESTS=yes \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_VERBOSE_MAKEFILE=yes .. | ||
- make | ||
- make test |