Skip to content

Commit

Permalink
update INSTALL build with cmake and debugging enable
Browse files Browse the repository at this point in the history
  • Loading branch information
heysion committed Sep 27, 2023
1 parent 3f3f9be commit cd41f8f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions INSTALL
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

0 comments on commit cd41f8f

Please sign in to comment.