2 ${CMAKE_SOURCE_DIR}/configlib
3 ${CMAKE_SOURCE_DIR}/src
4 ${CMAKE_SOURCE_DIR}/utils)
6 ########### next target ###############
11 test_containerfunc.cpp
12 test_cron_interval.cpp
15 test_global_config.cpp
19 test_restricted_html.cpp
24 if (IMAP_UTF7_SUPPORT)
25 SET(cpp_sources stringfunc_imaputf7.cpp ${cpp_sources})
26 endif (IMAP_UTF7_SUPPORT)
28 add_executable(test_i2ncommon ${cpp_sources})
30 # Add custom "make check" target which automatically builds the library
31 add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS test_i2ncommon)
33 # Invocation via "make test"
35 add_test(test_i2ncommon test_i2ncommon)
37 target_link_libraries(test_i2ncommon
41 ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}