Commit ee264da1 authored by Andreas Schneider's avatar Andreas Schneider
Browse files

cmake: Add WITH_EXAMPLES options

This is turned on by default, but you can disable it, if you just
package cmocka for an opterating system.

Fixes #14

Signed-off-by: Andreas Schneider's avatarAndreas Schneider <>
parent 092e17f0
Pipeline #44457460 passed with stage
in 11 minutes and 7 seconds
......@@ -60,7 +60,9 @@ if (UNIT_TESTING)
endif ()
# pkg-config file
configure_file(cmocka.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmocka.pc)
option(WITH_STATIC_LIB "Build with a static library" OFF)
option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
option(WITH_EXAMPLES "Build examples" ON)
option(UNIT_TESTING "Build with unit testing" OFF)
option(PICKY_DEVELOPER "Build with picky developer flags" OFF)
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