Update CMakeLists.txt

This commit is contained in:
Administrator 2022-01-23 15:11:35 +00:00
parent f27f432e77
commit 940f6c6f71

View File

@ -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)