Closed Dzordzu closed 2 years ago
As a beginner in cmake I'd like to see how to implement tests for private sources of the target (here it would be file_utils.h) Now I do something like
target_include_directories(tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../src )
in test directory. Is it correct?
As a beginner in cmake I'd like to see how to implement tests for private sources of the target (here it would be file_utils.h) Now I do something like
in test directory. Is it correct?