aboutsummaryrefslogtreecommitdiff
path: root/DefineOptions.cmake
blob: d2811287227849146c936b42e5adc886b07f3853 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)

if (WITH_STATIC_LIB)
    set(BUILD_SHARED_LIBS OFF)
else (WITH_STATIC_LIB)
    set(BUILD_SHARED_LIBS ON)
endif (WITH_STATIC_LIB)