mapnik/test/visual/CMakeLists.txt

24 lines
726 B
Text
Raw Normal View History

2022-08-11 22:54:50 +02:00
add_executable(mapnik-test-visual
2022-01-27 18:37:03 +01:00
parse_map_sizes.cpp
report.cpp
runner.cpp
run.cpp
)
2022-08-11 22:54:50 +02:00
set_target_properties(mapnik-test-visual PROPERTIES
2022-01-27 18:37:03 +01:00
LIBRARY_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
ARCHIVE_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}/lib"
2022-04-22 15:10:49 +02:00
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${BUILD_SHARED_CRT}>:DLL>"
2022-01-27 18:37:03 +01:00
)
target_link_libraries(mapnik-test-visual PRIVATE
Catch2::Catch2
Boost::program_options
Boost::filesystem
mapnik::mapnik
mapnik::agg
)
# needed for cleanup.hpp
target_include_directories(mapnik-test-visual PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
mapnik_install_utility(mapnik-test-visual)