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 OpenSSL::Crypto
15 ${PODOFO_LIBRARIES}
16 podofo_private
17 podofo_3rdparty
18 )
19 add_compile_options(${PODOFO_CFLAGS})
20
21 include(CTest)
22 include(Catch)
23 catch_discover_tests(podofo-unit)