<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/CMakeLists.txt, branch v2.2.2</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>v2.2.2</title>
<updated>2018-04-06T10:11:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-06T10:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2d8455b571b6c66c4b7003500a77f9a93ecdc28'/>
<id>d2d8455b571b6c66c4b7003500a77f9a93ecdc28</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PredicateMatcher that takes an arbitrary predicate functions</title>
<updated>2018-04-04T09:14:19+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-03T21:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1ca8f43b011ad61f4627a3339333406f15a46431'/>
<id>1ca8f43b011ad61f4627a3339333406f15a46431</id>
<content type='text'>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.2.1</title>
<updated>2018-03-11T11:04:28+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-03-11T11:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0a34cc201ef28bf25c88b0062f331369596cb7b7'/>
<id>0a34cc201ef28bf25c88b0062f331369596cb7b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.2.0</title>
<updated>2018-03-07T10:06:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-03-07T10:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d14b7563c2f493ad1e1113e18b98409f91b6cde2'/>
<id>d14b7563c2f493ad1e1113e18b98409f91b6cde2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure Catch2ConfigVersion.cmake is installed properly</title>
<updated>2018-03-07T08:42:58+00:00</updated>
<author>
<name>Bastian Dörig</name>
</author>
<published>2018-02-09T09:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d38f78299507c159b271149f98dd594532a98a0a'/>
<id>d38f78299507c159b271149f98dd594532a98a0a</id>
<content type='text'>
The old version would lead to error when Catch was installed
as a subproject. The file would be written to the subproject's
build directory and then would not be installed properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old version would lead to error when Catch was installed
as a subproject. The file would be written to the subproject's
build directory and then would not be installed properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>https://github.com/catchorg/Catch2/issues/1175 - don't list hidden tests by default</title>
<updated>2018-02-09T18:55:40+00:00</updated>
<author>
<name>dvirtz</name>
</author>
<published>2018-02-08T22:18:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ca8470fbad3447e16b738fb6f93606dfee03f424'/>
<id>ca8470fbad3447e16b738fb6f93606dfee03f424</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option to warn when no tests ran</title>
<updated>2018-02-09T17:49:36+00:00</updated>
<author>
<name>dvirtz</name>
</author>
<published>2018-02-08T23:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=355b3f9952430b77cc7c0ed3e273ba453f201c07'/>
<id>355b3f9952430b77cc7c0ed3e273ba453f201c07</id>
<content type='text'>
Closes #1158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1158
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.1.2</title>
<updated>2018-02-09T16:10:27+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-02-09T16:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7cbd0b587a24e5cbb9a7da9dd288f0532abfc57a'/>
<id>7cbd0b587a24e5cbb9a7da9dd288f0532abfc57a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Force MSVC to use utf-8</title>
<updated>2018-02-08T14:44:33+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-02-08T13:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b5ef68b044466156a8319a656f23518b34768379'/>
<id>b5ef68b044466156a8319a656f23518b34768379</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Export Catch as a CMake package and 'linkable' target</title>
<updated>2018-02-08T11:18:42+00:00</updated>
<author>
<name>Daniel J. Rollins</name>
</author>
<published>2018-01-29T22:56:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=39bfc6e82b32b462e85884a97ce0e979e3f93a78'/>
<id>39bfc6e82b32b462e85884a97ce0e979e3f93a78</id>
<content type='text'>
Create a namespaced Catch2::Catch target that is 'linkable' through
`target_link_libraries()` and export it so it is findable through
`find_package()`.

`find_package()` will find versions with the same major number and with
minor number &gt;= requested.

This makes catch a lot easier to use in CMake-based projects. Whether it
is found using `find_package` or included in the client project as a
subdirectory, the client can include the catch headers per-target with
`target_include_directories(target PRIVATE Catch2::Catch).

Example usage:

    cmake_minimum_required(VERSION 3.1)

    # include Catch2 as subdirectory or installed package
    # add_subdirectory(Catch2)
    find_package(Catch2 VERSION 2.1.0 REQUIRED)

    add_executable(tests tests/catch_main.cpp)
    target_link_libraries(tests PRIVATE Catch2::Catch)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a namespaced Catch2::Catch target that is 'linkable' through
`target_link_libraries()` and export it so it is findable through
`find_package()`.

`find_package()` will find versions with the same major number and with
minor number &gt;= requested.

This makes catch a lot easier to use in CMake-based projects. Whether it
is found using `find_package` or included in the client project as a
subdirectory, the client can include the catch headers per-target with
`target_include_directories(target PRIVATE Catch2::Catch).

Example usage:

    cmake_minimum_required(VERSION 3.1)

    # include Catch2 as subdirectory or installed package
    # add_subdirectory(Catch2)
    find_package(Catch2 VERSION 2.1.0 REQUIRED)

    add_executable(tests tests/catch_main.cpp)
    target_link_libraries(tests PRIVATE Catch2::Catch)
</pre>
</div>
</content>
</entry>
</feed>
