From b8aff90997116a84350018f88f1eabdaa368d11b Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 5 Mar 2022 08:24:51 -0500 Subject: Add cmake configuration files --- zlib-flate/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 zlib-flate/CMakeLists.txt (limited to 'zlib-flate') 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 $ + --bin $ # 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}) -- cgit v1.2.3-54-g00ecf