harfbuzz/test/shaping/CMakeLists.txt
2017-12-29 23:13:29 +03:30

12 lines
414 B
CMake

if (HB_BUILD_UTILS)
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/Makefile.am" MAKEFILEAM)
extract_make_variable (TESTS ${MAKEFILEAM})
foreach (test IN ITEMS ${TESTS})
add_test (${test} python run-tests.py "${test}")
set_tests_properties (${test} PROPERTIES
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
ENVIRONMENT "top_builddir=${PROJECT_BINARY_DIR};utildir=."
)
endforeach ()
endif ()