cfile/tests/CMakeLists.txt
raw| 1 | add_executable(cfile_tests |
| 2 | cfile_tests.cpp |
| 3 | ) |
| 4 | target_link_libraries(cfile_tests PRIVATE |
| 5 | GTest::gtest_main |
| 6 | cfile |
| 7 | ) |
| 8 | target_include_directories(cfile_tests PRIVATE ${PROJECT_SOURCE_DIR}/lib) |
| 9 | |
| 10 | gtest_discover_tests(cfile_tests |
| 11 | WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/cfile/tests |
| 12 | ) |