approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
312 stars 51 forks source link

My recent CMake changes have broken existing CMake build spaces - causing test targets to be missing #162

Closed claremacrae closed 2 years ago

claremacrae commented 3 years ago

This doesn't affect those who download the single header release, or obtain ApprovalTests.cpp via Conan.

This affects those who build this project from a clone or a fork, and who update a build space and pull in 08bd1f67590f122a87d7194293b5f26c3cec4dd2 and related changes, made on 2020-10-19.

I intended these changes to not break any existing build spaces, but they have done, and I am currently unsure how to fix it.

The workaround is to delete the build spaces and recreate them - or to delete the CMake cache file and rerun CMake.

In CLion, this can be done using "Reset Cache and Reload Project".

Apologies for the inconvenience.