Update CMakeLists.txt
This commit is contained in:
parent
f27f432e77
commit
940f6c6f71
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user