summaryrefslogtreecommitdiff
path: root/DefineOptions.cmake
blob: 5bc1ef3142acf9f693b9c2ebe7e7993ea3e3859d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
option(WITH_STATIC_LIB "Build with a static library" OFF)
option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
option(UNIT_TESTING "Build with unit testing" OFF)
option(PICKY_DEVELOPER "Build with picky developer flags" OFF)

if (WITH_STATIC_LIB)
    set(BUILD_STATIC_LIB ON)
endif (WITH_STATIC_LIB)

if (UNIT_TESTING)
  set(BUILD_STATIC_LIB ON)
endif (UNIT_TESTING)