Debian Codegraph @

podofo/test/unit/CMakeLists.txt

raw
1 file(GLOB SOURCE_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h" "*.cpp")
2 source_group("" FILES ${SOURCE_FILES})
3
4 include_directories(
5 ${Fontconfig_INCLUDE_DIRS}
6 ${FREETYPE_INCLUDE_DIRS}
7 ${CMAKE_CURRENT_BINARY_DIR}
8 )
9
10 # repeat for each test
11 add_executable(podofo-unit ${SOURCE_FILES})
12 target_link_libraries(podofo-unit
13 podofo_test
14 ${PODOFO_LIBRARIES}
15 podofo_private
16 ${PODOFO_LIB_DEPENDS}
17 )
18 add_compile_options(${PODOFO_CFLAGS})
19
20 include(CTest)
21 include(Catch)
22 catch_discover_tests(podofo-unit)