geopro/tests/spike/CMakeLists.txt

22 lines
835 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.

# Spike S3: 真实样本 banded contour 离屏渲染(验证设计 §4.3 管线选型)
find_package(nlohmann_json CONFIG REQUIRED)
find_package(VTK REQUIRED COMPONENTS
CommonCore
CommonDataModel
CommonColor
FiltersGeometry
FiltersModeling
RenderingOpenGL2
IOImage
)
add_executable(grid_contour_spike grid_contour_spike.cpp)
target_link_libraries(grid_contour_spike PRIVATE ${VTK_LIBRARIES} nlohmann_json::nlohmann_json)
vtk_module_autoinit(TARGETS grid_contour_spike MODULES ${VTK_LIBRARIES})
# 离屏渲染验证:用真实数据把剖面/帘面渲成 PNG肉眼核对方向与 2D/3D 差异。
add_executable(render_verify render_verify.cpp)
target_link_libraries(render_verify PRIVATE
geopro_render geopro_data geopro_core ${VTK_LIBRARIES})
vtk_module_autoinit(TARGETS render_verify MODULES ${VTK_LIBRARIES})