Adding external plugins #5049
-
Hi! cmake_minimum_required(VERSION 3.22)
find_package(SofaFramework)
sofa_add_subdirectory(SofaViscoElastic-main/ SofaViscoElastic VERSION 1.0) The next step in the online tutorial is to use Cmake to configure it. I have never used Cmake before and am not sure exactly how to do this. What do I set as "Where to build the binaries" in the Cmake GUI and where can I find CMAKE_PREFIX_PATH? I would really appreciate a step by step explanation on how to complete this step. Thank you very much in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There was a video that taught you how to add an external plugin by using cmake. just search sofa add external plugin on youtube. Hope your question is done |
Beta Was this translation helpful? Give feedback.
Thanks A LOT @StudySoftSCU for assisting on the forum! 👍 👍 👍
My CMakeLists looks like this :
In the CMahe-GUI you can specify the path to this CMakeLists in the variable
SOFA_EXTERNAL_DIRECTORIES
Hope this helps @giuliadinardo1