Closed nuclearGoblin closed 2 years ago
From: https://github.com/openjournals/joss-reviews/issues/3993#issuecomment-1015075303
When the default Make target
is run, it can generate .gcno
and .gcda
files that after compilation are artifacts. These should get added for removal in the clean
Make target
In CMake can't set clean target well and the above link doesn't do the cleaning upon make clean but before the next build.
However could try the solution suggested in these links: 1, 2.
Basically, this would be to use the set_directory_properties
to add *.gcda
to the list of files that are removed on make clean.
@gerudo7 showed me this reference for suggestions on cleaning up these kinds of files.
Trying to borrow stuff from this reference too.
Fixed with PR #99
From the review thread: