Skip to content

Commit

Permalink
Add way to pull and build Sofa.Qt plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Dec 20, 2024
1 parent 52369f8 commit eb1805b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions applications/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ sofa_add_subdirectory(plugin CSparseSolvers CSparseSolvers EXTERNAL GIT_REF mast
sofa_add_subdirectory(plugin ModelOrderReduction ModelOrderReduction EXTERNAL GIT_REF master)
sofa_add_subdirectory(plugin Sofa.Metis Sofa.Metis EXTERNAL GIT_REF master)
sofa_add_subdirectory(plugin SofaValidation SofaValidation EXTERNAL GIT_REF master)
sofa_add_subdirectory(plugin Sofa.Qt Sofa.Qt EXTERNAL GIT_REF master)



Expand Down
14 changes: 14 additions & 0 deletions applications/plugins/Sofa.Qt/ExternalProjectConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 3.22)

include(ExternalProject)
ExternalProject_Add(Sofa.Qt
GIT_REPOSITORY https://github.com/sofa-framework/Sofa.Qt
GIT_TAG origin/@ARG_GIT_REF@
SOURCE_DIR "${CMAKE_SOURCE_DIR}/applications/plugins/Sofa.Qt"
BINARY_DIR ""
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
GIT_CONFIG "remote.origin.fetch=+refs/pull/*:refs/remotes/origin/pr/*"
)

0 comments on commit eb1805b

Please sign in to comment.