CMake OptionsΒΆ

EasyNMEA provides several CMake options that can be used to build or exclude certain library modules.

Option

Description

Possible values

Default

BUILD_DOCUMENTATION

Generates Doxygen and Sphinx
documentation (see
Build and Install Documentation)

ON | OFF

OFF

BUILD_LIBRARY_TESTS

Build the library tests.

ON OFF

OFF

BUILD_DOCUMENTATION_TESTS

Build the library documentation
tests. Setting this ON will set
BUILD_DOCUMENTATION to ON

ON OFF

OFF

BUILD_TESTS

Build the library and
documentation tests. Setting
this ON will set
BUILD_LIBRARY_TESTS and
BUILD_DOCUMENTATION_TESTS
to ON

ON OFF

OFF

BUILD_EXAMPLES

Builds EasyNMEA examples

ON | OFF

OFF

GCC_CODE_COVERAGE

Build the library with
code coverage support.
This flag only take action
when using GCC.

ON OFF

OFF