Martin Hořeňovský
9766a7b200
Fix installation of extra utilities
2020-05-06 21:21:08 +02:00
Martin Hořeňovský
2ccc48e108
Require Python3 for running tests
2020-05-06 14:56:33 +02:00
Martin Hořeňovský
19ecad6f68
Rename CMake/pkg-config target Catch2Main to Catch2WithMain
...
This describes the reality better, as it also links in the rest
of Catch2.
The on-disk name of the static library remains just `Catch2Main`,
as that is what it is -- single main function -- and on-disk artifacts
cannot describe link dependencies.
2020-05-03 18:54:38 +02:00
Martin Hořeňovský
d776a93a39
Development build defaults to off
2020-04-25 18:18:45 +02:00
Martin Hořeňovský
121f04ffcf
Update Catch2-provided pkg-config
...
Also fixes an installation issue, where some installation steps
would not properly pick up `CMAKE_INSTALL_PREFIX` when set.
2020-03-18 10:51:35 +01:00
Martin Hořeňovský
6e270958a2
Add development build option to CMake and enable it on CI
...
Development build enables warnings and and `Werror` or equivalent.
2020-02-26 16:07:26 +01:00
Martin Hořeňovský
2f4a7dda68
Have the in-development version report as v3.0.0
...
Because some of the tooling used by Catch2 does not properly support
version postfixes, such as `preview-1`, we will report the
in-development version is `v3.0.0`, and the first real release will
have to be `v3.0.1`.
Closes #1824
2020-01-25 09:15:46 +01:00
Martin Hořeňovský
68cf4ca883
Add back coverage CMake option
2019-12-18 17:31:10 +01:00
Martin Hořeňovský
add7068f21
Fixup installation
2019-12-16 22:33:56 +01:00
Martin Hořeňovský
5fbf04cd59
Redo how the separate compilation tests are handled
2019-12-15 20:33:39 +01:00
Martin Hořeňovský
8b42acc328
Reintegrate extra tests
2019-12-09 10:04:26 +01:00
Martin Hořeňovský
29b441949c
Port the last example
2019-12-08 20:58:52 +01:00
Martin Hořeňovský
70ef2f7f12
Update building of examples for static lib
2019-12-08 15:55:04 +01:00
Martin Hořeňovský
918aa327fa
Rename contrib/ to extras/
2019-12-05 16:24:57 +01:00
Martin Hořeňovský
0fea081ad1
Move tests from projects/ to tests/
2019-12-05 16:00:20 +01:00
Martin Hořeňovský
e341b11467
WIP: CMake changes to build static lib + tests separately
2019-11-30 17:41:41 +01:00
Jozef Grajciar
87b745da66
v2.10.2
2019-10-24 18:41:25 +02:00
Martin Hořeňovský
a2c8dce85c
v2.10.1
2019-10-20 21:03:22 +02:00
Martin Hořeňovský
01ef7076f5
Allow in-tree builds where Catch2 is just a subproject
...
Closes #1773
Closes #1774
2019-10-18 18:49:44 +02:00
Martin Hořeňovský
7c9f92bc1c
v2.10.0
2019-10-13 23:44:18 +02:00
Martin Hořeňovský
ce42deb72f
Add Android's log library to Catch2's CMake interface
2019-08-10 20:51:15 +02:00
Martin Hořeňovský
2c869e17e4
v2.9.2
2019-08-08 14:05:24 +02:00
Martin Hořeňovský
7eea3ab245
Actually fix the CMake platform-independence problem
2019-06-17 19:41:17 +02:00
Martin Hořeňovský
33286fdc37
Fix bug with making arch-independent CMake config file
...
Closes #1660
2019-06-17 19:08:16 +02:00
Martin Hořeňovský
2f631bb808
v2.9.1
2019-06-17 12:02:14 +02:00
Martin Hořeňovský
f9dce28e7d
v2.9.0
2019-06-16 10:42:59 +02:00
Martin Hořeňovský
00347f1e79
v2.8.0
2019-05-26 22:47:00 +02:00
Michał Janiszewski
bfb4ee1597
Prevent building in source dir
...
Fixes #1636
2019-05-21 06:38:06 +02:00
Martin Hořeňovský
7c37501b07
v2.7.2
2019-04-22 23:15:59 +02:00
Martin Hořeňovský
c7653811a6
Add basic CPack support
...
@ThijsWithaar is responsible for giving me the idea, but his PR
had couple of things that meant it was simpler to rewrite it than
to fix and merge it.
Supersedes and closes #1599
2019-04-18 13:47:33 +02:00
Martin Hořeňovský
b9dd1936e5
v2.7.1
2019-04-08 13:38:00 +02:00
Martin Hořeňovský
d633072794
v2.7.0
2019-03-07 21:44:57 +01:00
Martin Hořeňovský
dbbab8727c
v2.6.1
2019-02-12 19:58:12 +01:00
Martin Hořeňovský
d75e9b3c0f
v2.6.0
2019-01-31 22:32:55 +01:00
Martin Hořeňovský
6ccd467094
v2.5.0
2018-11-26 20:50:38 +01:00
Martin Hořeňovský
03d122a35c
v2.4.2
2018-10-26 21:14:16 +02:00
Martin Hořeňovský
9e1bdca466
v2.4.1
2018-09-28 15:52:51 +02:00
Martin Hořeňovský
60b05b2041
v2.4.0
2018-09-04 11:59:15 +02:00
Martin Hořeňovský
fcd91c7d6b
Only look for Python binary when building tests
...
Fixes #1374
2018-09-02 18:55:17 +02:00
Martin Hořeňovský
646e1f608d
Make Catch2ConfigVersion.cmake be generated as arch-independent
...
As it turns out, there is a fairly reasonable workaround available.
Closes #1368
2018-09-01 21:51:49 +02:00
Martin Hořeňovský
0646e0283c
Disable installation step when Catch is used as a subproject
...
This is because otherwise the installations paths provided via
GNUInstallDirs become messed up and parts of the installation
package will end up in the wrong place.
Also it doesn't make much sense to force dependees to also install
our header alongside them.
Closes #1373
2018-08-31 11:43:09 +02:00
Martin Hořeňovský
f061dabbad
Add ExtraTests infrastructure
...
This means
* a new cmake option, `CATCH_BUILD_EXTRA_TESTS`, that conditionally
includes the ExtraTests subfolder
* building and running them on some of the Travis build images
* An example configuration test
In the future these should be extended to cover most of the
configuration options in Catch2, but this is a start.
2018-08-28 12:57:20 +02:00
David Seifert
7f18282d17
Allow overriding of Python interpreter
...
* Calling `python` does not allow overriding
downstream when running tests.
2018-08-20 14:52:54 +02:00
Martin Hořeňovský
15cf3caace
v2.3.0
2018-07-23 10:12:15 +02:00
Martin Hořeňovský
797d3b04df
Reinstate CATCH_BUILD_TESTING CMake option
2018-07-22 18:01:42 +02:00
Martin Hořeňovský
1af60ef5ab
Separate Catch2Config from targets
...
This lets us add the installed helper scripts to the cmake module
path, letting CMake users just include them after requiring Catch2
package.
2018-06-24 12:32:22 +02:00
Martin Hořeňovský
ed582bde4d
Include contrib in installation
2018-06-24 12:32:22 +02:00
Paul le Roux
0eb99fb569
Add option to not install documentation
2018-06-24 12:32:22 +02:00
Martin Hořeňovský
44722f9ed3
Integrate CMake with <catch2/catch.hpp>
include paths
...
This also goes for pkg-config installed by our CMake installation.
This includes
* Updating CMake version on Travis
* Adding a `Catch2` subfolder to the `single_include/` folder to
provide this include path both _inside_ the repository, and _outside_.
* Updated examples to build with the new paths
* Other general CMake cleanup
2018-06-24 12:32:22 +02:00
Martin Hořeňovský
d2a130f243
v2.2.3
2018-06-06 23:19:06 +02:00