mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-14 00:34:03 +00:00
17 lines
447 B
CMake
17 lines
447 B
CMake
add_executable(zlib-flate zlib-flate.cc)
|
|
target_link_libraries(zlib-flate libqpdf)
|
|
|
|
add_test(
|
|
NAME zlib-flate
|
|
COMMAND ${RUN_QTEST}
|
|
--top ${qpdf_SOURCE_DIR}
|
|
--bin $<TARGET_FILE_DIR:zlib-flate>
|
|
--bin $<TARGET_FILE_DIR:libqpdf> # for Windows to find DLL
|
|
--code ${qpdf_SOURCE_DIR}/zlib-flate
|
|
--color ${QTEST_COLOR}
|
|
--show-on-failure ${SHOW_FAILED_TEST_OUTPUT})
|
|
|
|
install(TARGETS zlib-flate
|
|
TYPE RUNTIME
|
|
COMPONENT ${COMPONENT_CLI})
|