mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
27 lines
669 B
CMake
27 lines
669 B
CMake
project( GeodesicMeasurementPlugin )
|
|
cmake_minimum_required( VERSION 2.8 )
|
|
|
|
if (NOT ParaView_BINARY_DIR)
|
|
find_package( ParaView REQUIRED )
|
|
include( ${PARAVIEW_USE_FILE} )
|
|
endif()
|
|
|
|
add_subdirectory( FmmMesh )
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/FmmMesh
|
|
${CMAKE_CURRENT_BINARY_DIR}/FmmMesh
|
|
${VTK_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_paraview_plugin( GeodesicMeasurement "1.0"
|
|
SERVER_MANAGER_XML GeodesicMeasurement.xml
|
|
SERVER_MANAGER_SOURCES
|
|
vtkPolyDataGeodesicDistance.cxx
|
|
vtkFastMarchingGeodesicDistance.cxx
|
|
vtkFastMarchingGeodesicPath.cxx
|
|
vtkGeodesicsBetweenPoints.cxx
|
|
)
|
|
|
|
target_link_libraries( GeodesicMeasurement LINK_PRIVATE FmmMesh )
|