diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-03-05 14:24:51 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-03-19 00:53:18 +0100 |
commit | b8aff90997116a84350018f88f1eabdaa368d11b (patch) | |
tree | 5ee781b03d3ffa81bfdd813e91f6324a75b266e6 /zlib-flate | |
parent | 105862da3ea72c6763c26038d2e02cf243eb0798 (diff) | |
download | qpdf-b8aff90997116a84350018f88f1eabdaa368d11b.tar.zst |
Add cmake configuration files
Diffstat (limited to 'zlib-flate')
-rw-r--r-- | zlib-flate/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zlib-flate/CMakeLists.txt b/zlib-flate/CMakeLists.txt new file mode 100644 index 00000000..4db31ef4 --- /dev/null +++ b/zlib-flate/CMakeLists.txt @@ -0,0 +1,16 @@ +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}) |