ADD_EXECUTABLE(utf8test utf8test.c) TARGET_LINK_LIBRARIES(utf8test utf8_lib) ADD_TEST(utf8_ascii utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_ascii) ADD_TEST(utf8_ascii_c utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test.c) ADD_TEST(utf8_german utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_german) ADD_TEST(utf8_korean utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_korean) ADD_TEST(utf8_japanese utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_japanese) ADD_TEST(uft8_chinese utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_chinese) ADD_TEST(utf8_latin1 utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_latin1) SET_TESTS_PROPERTIES(utf8_latin1 PROPERTIES WILL_FAIL true) ADD_TEST(utf8_binary utf8test ${CMAKE_CURRENT_BINARY_DIR}/utf8test) SET_TESTS_PROPERTIES(utf8_binary PROPERTIES WILL_FAIL true) ADD_TEST(utf8_all utf8test ${CMAKE_CURRENT_SOURCE_DIR}/utf8test_allutf)