Descent3/tests/CMakeLists.txt
Azamat H. Hackimov c3e0102a4f Implementing C++ byteswap functions
Implementing byteswap functions by using "backported" from C++23 std::byteswap.
Adding unittests based on GoogleTests. To enable it add `-DBUILD_TESTING=ON` to cmake.
2024-04-23 21:18:07 +03:00

12 lines
233 B
CMake

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)