| 1 |
set(CMAKE_FOLDER "tests") |
| 2 |
|
| 3 |
add_executable( |
| 4 |
byteswap_tests |
| 5 |
byteswap_tests.cpp |
| 6 |
) |
| 7 |
target_link_libraries( |
| 8 |
byteswap_tests |
| 9 |
GTest::gtest_main |
| 10 |
) |
| 11 |
target_include_directories(byteswap_tests PRIVATE ${PROJECT_SOURCE_DIR}/lib) |
| 12 |
|
| 13 |
gtest_discover_tests(byteswap_tests) |