diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ae6b63..67d6217 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,3 +12,17 @@ FetchContent_MakeAvailable(googletest) include_directories(include) add_library(VectorAlgebra STATIC "src/Vector3.cpp" "src/Quaternion.cpp") + +enable_testing() + +add_executable( + hello_test + "src/hello_test.cc" +) +target_link_libraries( + hello_test + gtest_main +) + +include(GoogleTest) +gtest_discover_tests(hello_test)