geopro/tests/spike/CMakeLists.txt

16 lines
511 B
CMake

# 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})