27 Commits

Author SHA1 Message Date
TheAssassin d2e9567029 Add FetchContent fallback for CImg 2021-12-03 18:28:41 +01:00
TheAssassin 01331697d0 Support only system-provided boost from now on 2021-12-01 05:00:33 +01:00
TheAssassin 0c49714228 Use cmake-scripts to manage gtest dependency 2021-11-30 00:01:54 +01:00
TheAssassin 0a6a1c59b7 Fix test execution in CI build script 2021-05-14 08:38:45 +02:00
TheAssassin 59a8ec41ba Replace cpp-subprocess with own linuxdeploy-subprocess 2020-08-07 21:22:58 +02:00
Dave Barach 44cb9466b3 Merge branch 'master' of https://github.com/dbarach/linuxdeploy
Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 11:08:11 -04:00
Dave Barach 1dfcab8556 Add a workspace sanity check
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:

"Missing submodule(s), please 'git clone --recurse-submodules...'"

Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 11:03:25 -04:00
Dave Barach e62e8d8396 Add a workspace sanity check
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:

"Missing submodule(s), please 'git clone --recurse-submodules...'"

Signed-off-by: Dave Barach <dave@barachs.net>
2019-03-27 10:23:47 -04:00
TheAssassin 74d482612a Add support for ccache 2018-11-10 14:03:11 +01:00
TheAssassin 8f2a49daf0 Fix build command syntax 2018-11-10 14:02:53 +01:00
TheAssassin 4a9e0583d0 Build in parallel before running coverage tools
Also, don't run tests parallelized any more, because the output is
unreadable.
2018-11-10 13:24:01 +01:00
TheAssassin 16483c38e4 Build binaries before running tests when calculating coverage 2018-11-10 13:04:21 +01:00
TheAssassin 9b8d7698f4 Remove dependency on lcov
We don't use it anyway, but use the more modern and flexible gcovr.
2018-11-10 03:43:51 +01:00
TheAssassin 22bbd04304 Properly calculate processor count for coverage testing 2018-11-09 21:28:40 +01:00
TheAssassin 96b5c3c479 Generate text report for coverage 2018-11-09 21:28:40 +01:00
TheAssassin b56e202c40 Add targets for remaining coverage report types 2018-11-09 03:24:03 +01:00
TheAssassin 81dfae892c Add support for code coverage measurements 2018-11-08 22:17:21 +01:00
TheAssassin a1308955e7 Use CMake's BUILD_TESTING instead of proprietary custom variable 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta 7e4a320f61 Make ctest run un verbose mode. 2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta f1e752d452 Add unit test for AppDir::createBasicStructure 2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta 55b6ee19e1 Add tests infrastructure 2018-10-24 13:09:50 +02:00
TheAssassin 63764e2e18 Show proper version statement 2018-09-03 20:20:16 +02:00
TheAssassin 5d81258547 Bundle CImg for multiarch builds 2018-06-30 00:18:29 +02:00
TheAssassin 96bf015722 Build up to date version of Boost libraries
System versions can still be used (if they're _somewhat_ up to date,
the ones on <= xenial are too old).
2018-06-08 02:04:20 +02:00
TheAssassin 97f4a21fd0 Fix CMAKE_MODULE_PATH 2018-06-04 13:42:52 +02:00