Another observation from my test suite migration: When a new .pf file is added to TEST_SOURCES for add_pfunit_ctest, the file gets processed and the *.inc file gets updated, but a re-compilation of the test program is not triggered. It would be nice for this re-build to happen automatically. One of these approaches should work:
https://cmake.org/cmake/help/latest/command/add_dependencies.html
https://stackoverflow.com/questions/40914497/why-doesnt-cmake-detect-dependency-on-my-generated-file
Another observation from my test suite migration: When a new .pf file is added to TEST_SOURCES for add_pfunit_ctest, the file gets processed and the *.inc file gets updated, but a re-compilation of the test program is not triggered. It would be nice for this re-build to happen automatically. One of these approaches should work:
https://cmake.org/cmake/help/latest/command/add_dependencies.html
https://stackoverflow.com/questions/40914497/why-doesnt-cmake-detect-dependency-on-my-generated-file