Skip to content
Snippets Groups Projects
Commit 05dab11b authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

build docs: mention -DNDEBUG, to be sure

parent 35cb961b
Branches
Tags
2 merge requests!92Change NDEBUG to verbose logging,!90Rename NDEBUG to NLOGDEBUG to allow disabling assert()s while keeping logging enabled
......@@ -100,7 +100,9 @@ When you have all the dependencies ready, you can build and install.
$ make PREFIX="/usr/local"
$ make install PREFIX="/usr/local"
.. note:: Always build with ``PREFIX`` if you want to install, as it is hardcoded in the executable for module search path. If you build the binary with ``-DNLOGDEBUG``, verbose logging will be disabled as well.
.. note:: Always build with ``PREFIX`` if you want to install, as it is hardcoded in the executable for module search path.
Production code should be compiled with ``-DNDEBUG``.
If you build the binary with ``-DNLOGDEBUG``, verbose logging will be disabled as well.
Alternatively you can build only specific parts of the project, i.e. ``library``.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment