modern-cpp-template
modern-cpp-template copied to clipboard
[BUG] The unit test module failed to compile
Hi. This C++ project template is useful to me. Thanks!
Unfortunately, the unit test module failed to compile. You may need to add the following to test/cmakelists.txt:
target_include_directories(
${test_name}_Tests
PUBLIC ${CMAKE_SOURCE_DIR}/include
PRIVATE ${CMAKE_SOURCE_DIR}/src
)
Hello and thanks a lot for the kind words, as well as for reporting this bug! Do you happen to still have the compile error? It should not happen and I am trying to figure out if it was an environment issue or a template issue.