Commit eacbcd17 authored by Ghislain MARY's avatar Ghislain MARY

Add option to CMake to enable/disable compilation of tools.

parent 59b766e3
......@@ -59,6 +59,7 @@ option(ENABLE_STATIC "Build static library (default is shared library)." NO)
option(ENABLE_DEBUG_LOGS "Enable the display of traces showing the execution of the library." NO)
option(ENABLE_FIXED_POINT "Turn on fixed point computations." ${ENABLE_FIXED_POINT_DEFAULT_VALUE})
option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO)
option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES)
cmake_dependent_option(ENABLE_DTLS "Build with DTLS support." YES "ENABLE_SRTP" NO)
......@@ -411,4 +412,6 @@ add_subdirectory(src)
if(ENABLE_UNIT_TESTS)
add_subdirectory(tester)
endif()
add_subdirectory(tools)
if(ENABLE_TOOLS)
add_subdirectory(tools)
endif()
Markdown is supported
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