File: DefineOptions.cmake

package info (click to toggle)
cmocka 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 748 kB
  • sloc: ansic: 4,537; makefile: 19
file content (7 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
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)

if (UNIT_TESTING)
    set(WITH_STATIC_LIB ON)
endif()