CMakeLists.txt 286 字节
Newer Older
1 2
file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")
3

4
foreach(src ${TEST_OPS})
5
  py_test(${src} SRCS ${src}.py)
6
endforeach()
7

8
add_subdirectory(unittests)
9
add_subdirectory(book)
10
add_subdirectory(book_memory_optimization)