CMake: get rid of the OWLPS_DEBUG option

The constant is not used in any program any more, so we can stop
declaring it.
This commit is contained in:
Matteo Cypriani 2013-06-07 17:09:51 -04:00
parent ca918af0ab
commit b0bb4094d8
3 changed files with 0 additions and 12 deletions

View File

@ -82,13 +82,6 @@ if (NOT CMAKE_BUILD_TYPE)
CACHE STRING "Set the default configuration" FORCE)
endif()
option (OWLPS_DEBUG
"Enable debug code"
on)
if (OWLPS_DEBUG)
add_definitions(-DOWLPS_DEBUG)
endif()
### Flags ###

View File

@ -77,9 +77,6 @@ example (from an empty directory):
Here are the OwlPS-specific switches you can change in the CMake
configuration as explained in the previous section.
- ``OWLPS_DEBUG``: enable/disable debug code (some more tests and
informational messages).
- ``OWLPS_CLIENT_RECEIVES_POSITION``: enable/disable OwlPS Client's
``-l`` option (which enables receiving the computed position from the
Positioner).

View File

@ -44,8 +44,6 @@ Work to do in OwlPS
See also select_tut(2).
- Option -V should tell if OWLPS_DEBUG is enabled or not.
- Eliminate remaining exit() calls to avoid memory leaks on exit.
- Use atexit() / on_exit() instead of goto to clean at exit?