catch2/tools/scripts
Mike Crowe 4db8b50aab
Add support for building with Meson (#2530)
The Meson[1] build system makes it easier incorporate third-party
libaries into a project if they also build using Meson.

Let's add a minimal Meson build that's compatible with the CMake build,
along with a GitHub workflow to check that it builds and that at least
the simplest SelfTest runs.

The handling of catch_user_config.hpp is inspired by BUILD.bazel and
doesn't attempt to support any configuratons options. Such features
could be added later.

Meson strongly discourages using wildcards to specify sources, so the
source and header lists are copied from CMakeLists.txt.

Add a new test workflow to test the Meson builds. I was unable to get
these tests to pass with Ubuntu 20.04, so they use Ubuntu 22.04.

I'm neither a CMake nor a Meson expert, but the results seem to work for
me.

[1] https://mesonbuild.com/

Co-authored-by: Mike Crowe <mcrowe@brightsign.biz>
2022-10-01 23:28:30 +02:00
..
approvalTests.py Refactor shared args in approvalTests.py 2022-06-14 23:42:00 +02:00
approve.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
buildAndTest.cmd Add tests for CMake configure toggles passing to Catch2 build 2022-02-20 19:32:30 +01:00
buildAndTest.sh Add tests for CMake configure toggles passing to Catch2 build 2022-02-20 19:32:30 +01:00
checkConvenienceHeaders.py Make scripts executable 2020-11-10 15:22:15 +01:00
checkDuplicateFilenames.py Make scripts executable 2020-11-10 15:22:15 +01:00
checkLicense.py Extend checkLicense.py to also check tests 2022-01-29 13:10:54 +01:00
developBuild.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
extractFeaturesFromReleaseNotes.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
fixWhitespace.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
generateAmalgamatedFiles.py Allow passing compile-time configuration options through CMake 2022-02-18 11:15:08 +01:00
majorRelease.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
minorRelease.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
patchRelease.py Move all scripts to Python3 2020-04-29 21:28:52 +02:00
releaseCommon.py Add support for building with Meson (#2530) 2022-10-01 23:28:30 +02:00
scriptCommon.py Moved scripts/ to tools/scripts/ 2019-12-06 11:53:31 +01:00
updateDocumentSnippets.py Add infrastructure for embedding code samples in docs. 2020-10-28 11:38:06 +01:00
updateDocumentToC.py Make scripts/updateDocumentToC.py executable. 2020-07-22 21:43:16 +02:00