set(CMAKE_FOLDER "tests") add_executable( byteswap_tests byteswap_tests.cpp ) target_link_libraries( byteswap_tests GTest::gtest_main ) target_include_directories(byteswap_tests PRIVATE ${PROJECT_SOURCE_DIR}/lib) gtest_discover_tests(byteswap_tests)