geopro/tools/gpr3dv_smoke/CMakeLists.txt

23 lines
1022 B
CMake
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# gpr3dv-smoke —— 冒烟 CLI验证 vendored 3DGPRViewer 数据生成链编过且跑通。
# 用法: gpr3dv-smoke <lineDir> <linePrefix>
# 例: gpr3dv-smoke "D:/Downloads/明星路" "明星路_001"
# 走原版 APIIprhParser::loadImpulseMultiChannel → GPRDataModel::buildVolumeData
# → RadarProcessor::runPipeline(默认流水线)。打印维度/处理前后统计/通道数。
add_executable(gpr3dv_smoke main.cpp)
set_target_properties(gpr3dv_smoke PROPERTIES
OUTPUT_NAME "gpr3dv-smoke"
AUTOMOC OFF AUTOUIC OFF AUTORCC OFF)
target_link_libraries(gpr3dv_smoke PRIVATE geopro_gpr3dv Qt6::Core Qt6::Gui)
target_compile_features(gpr3dv_smoke PRIVATE cxx_std_17)
if(WIN32)
# 运行时 DLLQt6Core 等)拷到 exe 旁,使其可直接运行(无需手设 PATH
add_custom_command(TARGET gpr3dv_smoke POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
$<TARGET_RUNTIME_DLLS:gpr3dv_smoke> $<TARGET_FILE_DIR:gpr3dv_smoke>
COMMAND_EXPAND_LISTS)
endif()