Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/data/
/scenes/
.gitignore
*.vtk
*.obj
*.sxn
*.scn
*.csv
16 changes: 9 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,28 @@ project(MeshSkeletonizationPlugin VERSION 0.1)
# Dependencies
find_package(Sofa.Config REQUIRED)
sofa_find_package(Sofa.Core REQUIRED)

sofa_find_package(CGAL REQUIRED)
message(STATUS "CGAL VERSION = ${CGAL_VERSION}")


set(PLUGIN_SKELETONIZATION_SRC_DIR src/MeshSkeletonizationPlugin)

set(HEADER_FILES
${PLUGIN_SKELETONIZATION_SRC_DIR}/config.h.in
${PLUGIN_SKELETONIZATION_SRC_DIR}/init.h
${PLUGIN_SKELETONIZATION_SRC_DIR}/MeshSkeletonization.h
${PLUGIN_SKELETONIZATION_SRC_DIR}/MeshSkeletonization.inl
${PLUGIN_SKELETONIZATION_SRC_DIR}/SkeletonGraph/SkeletonNode.h
${PLUGIN_SKELETONIZATION_SRC_DIR}/SkeletonGraph/SkeletonGraph.h
${PLUGIN_SKELETONIZATION_SRC_DIR}/SkeletonGraph/SkeletonReader.h
${PLUGIN_SKELETONIZATION_SRC_DIR}/SkeletonGraph/SkeletonReader.inl
)

set(SOURCE_FILES
${PLUGIN_SKELETONIZATION_SRC_DIR}/init.cpp
${PLUGIN_SKELETONIZATION_SRC_DIR}/MeshSkeletonization.cpp
${PLUGIN_SKELETONIZATION_SRC_DIR}/SkeletonGraph/SkeletonGraph.cpp
${PLUGIN_SKELETONIZATION_SRC_DIR}/SkeletonGraph/SkeletonReader.cpp


)

set(README_FILES README.md)
Expand All @@ -36,7 +41,6 @@ endif()
target_link_libraries(${PROJECT_NAME} PUBLIC Sofa.Core)
target_link_libraries(${PROJECT_NAME} PUBLIC CGAL::CGAL)


# Install rules for the library and the headers; CMake package configurations files
sofa_create_package_with_targets(
PACKAGE_NAME ${PROJECT_NAME}
Expand All @@ -45,6 +49,4 @@ sofa_create_package_with_targets(
INCLUDE_SOURCE_DIR "src"
INCLUDE_INSTALL_DIR "MeshSkeletonizationPlugin"
RELOCATABLE "plugins"
)


)
Loading