test/CMakeLists.txt

changeset 653
e081643aae2a
parent 652
bf817b825ed2
child 654
c9d008861178
     1.1 --- a/test/CMakeLists.txt	Tue Feb 07 21:53:06 2023 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,32 +0,0 @@
     1.4 -# Load Google Test Framework
     1.5 -set(CMAKE_CXX_STANDARD 17)
     1.6 -
     1.7 -include(FetchContent)
     1.8 -FetchContent_Declare(
     1.9 -        googletest
    1.10 -        GIT_REPOSITORY https://github.com/google/googletest.git
    1.11 -        GIT_TAG e2239ee6043f73722e7aa812a459f54a28552929 # release 1.11.0
    1.12 -)
    1.13 -# For Windows: Prevent overriding the parent project's compiler/linker settings
    1.14 -set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
    1.15 -FetchContent_MakeAvailable(googletest)
    1.16 -include(GoogleTest)
    1.17 -message(STATUS "Google Test made available")
    1.18 -
    1.19 -add_executable(ucxtest
    1.20 -        test_utils.cpp
    1.21 -        test_allocator.cpp
    1.22 -        test_compare.cpp
    1.23 -        test_string.cpp
    1.24 -        test_buffer.cpp
    1.25 -        test_list.cpp
    1.26 -        test_tree.cpp
    1.27 -        test_hash_key.cpp
    1.28 -        test_map.cpp
    1.29 -        test_basic_mempool.cpp
    1.30 -        test_printf.cpp
    1.31 -        selftest.cpp
    1.32 -        util_allocator.cpp
    1.33 -        )
    1.34 -target_link_libraries(ucxtest PRIVATE ucx_static gtest_main)
    1.35 -gtest_discover_tests(ucxtest)

mercurial