2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 03:18:59 +00:00
qpdf/compare-for-test/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
573 B
CMake
Raw Normal View History

# This directory is called compare-for-test rather than
# qpdf-test-compare to make shell completion easier.
add_executable(qpdf-test-compare qpdf-test-compare.cc)
target_link_libraries(qpdf-test-compare libqpdf)
add_test(
NAME compare-for-test
COMMAND ${RUN_QTEST}
--top ${qpdf_SOURCE_DIR}
--bin $<TARGET_FILE_DIR:qpdf-test-compare>
--bin $<TARGET_FILE_DIR:libqpdf> # for Windows to find DLL
--code ${qpdf_SOURCE_DIR}/compare-for-test
--color ${QTEST_COLOR}
--show-on-failure ${SHOW_FAILED_TEST_OUTPUT}
--tc "${qpdf_SOURCE_DIR}/compare-for-test/*.cc")