test/CMakeLists.txt

changeset 427
ec92b4ed23aa
parent 422
afd87df80b13
parent 425
a75b808d653b
child 510
133ac0f8f3fc
equal deleted inserted replaced
423:4cea6e50175b 427:ec92b4ed23aa
8 if(CUNIT_FOUND) 8 if(CUNIT_FOUND)
9 message(CHECK_PASS "found: compiling tests.") 9 message(CHECK_PASS "found: compiling tests.")
10 set(TESTS 10 set(TESTS
11 test_allocator 11 test_allocator
12 test_list 12 test_list
13 test_tree
13 ) 14 )
14 15
15 foreach(test ${TESTS}) 16 foreach(test ${TESTS})
16 add_executable(${test} util_allocator.c ${test}.c) 17 add_executable(${test} util_allocator.c ${test}.c)
17 target_link_libraries(${test} PRIVATE ucx_static ${CUNIT_LIBRARY}) 18 target_link_libraries(${test} PRIVATE ucx_static ${CUNIT_LIBRARY})

mercurial