Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
eacbcd17
Commit
eacbcd17
authored
Mar 04, 2015
by
Ghislain MARY
Browse files
Add option to CMake to enable/disable compilation of tools.
parent
59b766e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
CMakeLists.txt
+4
-1
No files found.
CMakeLists.txt
View file @
eacbcd17
...
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment