Skip to content

CMakeLists: add optional builds of tests/examples

Ryan Barnett requested to merge rjbarnet/cunit:add-optional-example-tests into master

Introduce BUILD_TESTS and BUILD_EXAMPLES CMake variable to optionally build Tests and Examples. This allows the CUnit library to be built for more architecture platforms as the Tests and Examples do not align with compiling on platforms which require -fPIC or -pie.

Update .gitlab-ci.yml to allow for building of Tests and Examples on the CI platforms. Also remove trailing whitespace with VIM macro.

Signed-off-by: Ryan Barnett ryan.barnett@rockwellcollins.com

Merge request reports