modern-cpp-template icon indicating copy to clipboard operation
modern-cpp-template copied to clipboard

[BUG] The unit test module failed to compile

Open geodoer opened this issue 3 years ago • 1 comments

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
  )

geodoer avatar Mar 24 '22 08:03 geodoer

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.

filipdutescu avatar May 17 '22 21:05 filipdutescu