12345678910111213141516171819202122232425262728 |
- # include(FetchContent)
- # FetchContent_Declare(
- # googletest
- # GIT_REPOSITORY https://github.com/google/googletest.git
- # GIT_TAG release-1.12.1
- # )
- # set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
- # FetchContent_MakeAvailable(googletest)
- enable_testing()
- add_executable(
- Elleptic_integralsTest
- Elleptic_integralsTest.cpp
- )
- target_link_libraries(
- Elleptic_integralsTest
- GTest::gtest_main
- )
- target_include_directories(Elleptic_integralsTest PUBLIC ${PROJECT_SOURCE_DIR})
- include(GoogleTest)
- gtest_discover_tests(Elleptic_integralsTest)
|