You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add detection for LCC when it is masquerading as GCC (#2199)
Modified posix signal handling so it supports newer libcs (#2178)
MINSIGSTKSZ was no longer usable in constexpr context.
Fixes
Fixed compilation of benchmarking when min and max macros are defined (#2159)
Including windows.h without NOMINMAX remains a really bad idea, don't do it
Miscellaneous
Catch2WithMain target (static library) is no longer built by default (#2142)
Building it by default was at best unnecessary overhead for people not using it, and at worst it caused trouble with install paths
To have it built, set CMake option CATCH_BUILD_STATIC_LIBRARY to ON
The check whether Catch2 is being built as a subproject is now more reliable (#2202, #2204)
The problem was that if the variable name used internally was defined the project including Catch2 as subproject, it would not be properly overwritten for Catch2's CMake.