Add flag to disable build of example apps

6 jobs for master in 15 minutes and 37 seconds
Status Job ID Name Coverage
  Test
passed #7571
Linux
clang-c++11

00:04:56

passed #7573
Linux
clang-c++98

00:03:56

passed #7570
Linux
gcc-c++11

00:05:58

failed #7572
Linux
gcc-c++98

00:00:00

failed #7574
Apple
macos-c++11

00:00:37

failed #7575
Apple
macos-c++98

00:00:07

 
Name Stage Failure
failed
macos-c++98 Test There is an unknown failure, please try again
/Users/jenkins/sw/gmm-4.1/include/gmm/gmm_blas_interface.h:159:32: warning: 'zdotc_' has C-linkage specified, but returns user-defined type 'std::complex<double>' which is incompatible with C [-Wreturn-type-c-linkage]
BLAS_C cdotc_(...); BLAS_Z zdotc_(...);
^
4 warnings and 4 errors generated.
make[2]: *** [CMakeFiles/CoMISo.dir/Solver/CholmodSolver.cc.o] Error 1
make[1]: *** [CMakeFiles/CoMISo.dir/all] Error 2
make: *** [all] Error 2

ERROR: Build failed: exit status 1
failed
macos-c++11 Test There is an unknown failure, please try again
      msg << "Level " << level_ << " Warning in "__FILE__ << ", line " \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [CMakeFiles/CoMISo.dir/Solver/CholmodSolver.cc.o] Error 1
make[1]: *** [CMakeFiles/CoMISo.dir/all] Error 2
make: *** [all] Error 2

ERROR: Build failed: exit status 1
failed
gcc-c++98 Test There is an unknown failure, please try again
Running with gitlab-ci-multi-runner 1.4.1 (fae8f18)
Using Shell executor...
Running on herzog...
error: could not lock config file /home/gitlab-runner/.gitconfig: File exists
ERROR: Build failed: exit status 1