Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ENH: Add BeamAdapter, Registration and Shell SOFA plugins #35

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
39 changes: 39 additions & 0 deletions SuperBuild/External_Sofa.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,45 @@ if(NOT DEFINED ${proj}_DIR AND NOT ${SUPERBUILD_TOPLEVEL_PROJECT}_USE_SYSTEM_${p
list(APPEND SOFA_EXTERNAL_DIRECTORIES ${${plugin_name}_SOURCE_DIR})
ExternalProject_Message(${proj} "${plugin_name} sources [OK]")

# BeamAdapter
set(plugin_name "BeamAdapter")
set(${plugin_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${plugin_name}")
FetchContent_Populate(${plugin_name}
SOURCE_DIR ${${plugin_name}_SOURCE_DIR}
GIT_REPOSITORY "https://github.com/sofa-framework/BeamAdapter.git"
GIT_TAG "4f0f30c7025740e808865d392c1bac7df3627e9b" # v24.06
GIT_PROGRESS 1
QUIET
)
list(APPEND SOFA_EXTERNAL_DIRECTORIES ${${plugin_name}_SOURCE_DIR})
ExternalProject_Message(${proj} "${plugin_name} sources [OK]")

# Registration
set(plugin_name "Registration")
set(${plugin_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${plugin_name}")
FetchContent_Populate(${plugin_name}
SOURCE_DIR ${${plugin_name}_SOURCE_DIR}
GIT_REPOSITORY "https://github.com/sofa-framework/Registration.git"
GIT_TAG "8551d8fa6cd5af7cd29a7261729b153d9549d2d6" # master-8551d8fa6cd5af7cd29a7261729b153d9549d2d6
GIT_PROGRESS 1
QUIET
)
list(APPEND SOFA_EXTERNAL_DIRECTORIES ${${plugin_name}_SOURCE_DIR})
ExternalProject_Message(${proj} "${plugin_name} sources [OK]")

# Shell
set(plugin_name "Shell")
set(${plugin_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${plugin_name}")
FetchContent_Populate(${plugin_name}
SOURCE_DIR ${${plugin_name}_SOURCE_DIR}
GIT_REPOSITORY "https://github.com/SofaDefrost/Shell.git"
GIT_TAG "fc89d076e862e65d56a9693d7a3811fc1efaaf48" # master-fc89d076e862e65d56a9693d7a3811fc1efaaf48
GIT_PROGRESS 1
QUIET
)
list(APPEND SOFA_EXTERNAL_DIRECTORIES ${${plugin_name}_SOURCE_DIR})
ExternalProject_Message(${proj} "${plugin_name} sources [OK]")

set(EP_SOURCE_DIR ${CMAKE_BINARY_DIR}/${proj})
set(EP_BINARY_DIR ${CMAKE_BINARY_DIR}/${proj}-build)

Expand Down