-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catch 2.13.4 contains feature from 3.0.0 pre-release #2142
Comments
How about an additional |
I too am running in various issues because of that library. Your |
What kind of issues? Can you describe this use case as a C++ file for the tests, or post it here? I can add an option for this experimental feature, that is off by default, as no one should have a problem when updating to the newest version. |
I was able to fix my issues. My first problem was the However, this newer version of catch2 (2.13.4) first broke the use of the package. This is because I usually place all cmake files under Now the search with a relative path threw me away because usually the My snapcatch2 package on launchpad works now. The source can be checked out on github. It has one dependency (our Thank you for the prompt reply. Let me know if you need more info. |
The `Catch2WithMain` target was added experimentally for v2.13.4 to provide potentially better compilation (and link) times to users. However, having it compiled by default causes worse experience for people who do not use it, and for the v2 versions the single include distribution is still the main one. Closes #2142
Point of order: it is not a feature from v3, it is a somewhat different thing, that uses the same name for uniformity. 😃 I am also very surprised that the paths break like this. From quick glance, the paths are done in the same way that v3's static libraries are, and I do not know of there being problem with them, and Anyway, I modified the target to be opt-in for v2. |
Thanks @horenmar ! |
Describe the bug
The patch version 2.13.4 provides libCatch2WithMain.a, which is listed to be included in Catch2 3.x
Expected behavior
Do not include new features in patch versions, only fixes. Keep it as same as 2.13.3. This change breaks users which don't expect using cmake for building, but only for installation. libCatch2WithMain should be included in a major version only. Or, if not possible, make it optional.
Reproduction steps
Platform information:
Additional context
Build log (partial):
The text was updated successfully, but these errors were encountered: