2
${CMAKE_CURRENT_SOURCE_DIR}
3
${CMAKE_CURRENT_BINARY_DIR}
6
configure_file(poppler-version.h.in ${CMAKE_CURRENT_BINARY_DIR}/poppler-version.h @ONLY)
8
add_subdirectory(tests)
12
poppler-embedded-file.cpp
17
poppler-page-renderer.cpp
18
poppler-page-transition.cpp
25
add_library(poppler-cpp SHARED ${poppler_cpp_SRCS})
26
set_target_properties(poppler-cpp PROPERTIES VERSION 0.2.0 SOVERSION 0)
27
target_link_libraries(poppler-cpp poppler ${ICONV_LIBRARIES})
29
target_link_libraries(poppler-cpp ${poppler_LIBS})
31
target_link_libraries(poppler-cpp LINK_INTERFACE_LIBRARIES "")
32
install(TARGETS poppler-cpp RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX})
36
poppler-embedded-file.h
41
poppler-page-renderer.h
42
poppler-page-transition.h
45
${CMAKE_CURRENT_BINARY_DIR}/poppler-version.h
46
DESTINATION include/poppler/cpp)