CMakeLists.txt 310 字节
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 11 12 13

if(NOT APPLE AND NOT WIN32)
  add_subdirectory(custom_op)
endif()