I saw it via this build error, when using the single-header file:
error: 'ApprovalTests.hpp' file not found with <angled> include; use "quotes" instead
#include <ApprovalTests.hpp>
^~~~~~~~~~~~~~~~~~~
"ApprovalTests.hpp"
1 error generated.
It's wrong at several levels:
We shouldn't include any of our own header files via <...>, as they will be presumed to be system headers, and not processed correctly by our release script.
We also shouldn't include the simulated single header file - ApprovalTests.hpp - in any of the library headers, as it will end up #including itself in the final released header
The problem code is this:
I saw it via this build error, when using the single-header file:
It's wrong at several levels:
<...>
, as they will be presumed to be system headers, and not processed correctly by our release script.