Skip to content

Commit

Permalink
Add a cmake option to disable build of runSofa app
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-roussel committed Nov 17, 2023
1 parent c00d082 commit a4c830a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ sofa_add_subdirectory(plugin applications/plugins/SceneCreator SceneCreator OFF
WHEN_TO_SHOW "NOT SOFA_BUILD_SCENECREATOR AND NOT SOFA_BUILD_TESTS AND NOT SOFA_BUILD_TUTORIALS AND NOT SOFA_BUILD_RELEASE_PACKAGE"
VALUE_IF_HIDDEN "ON")

## runSofa application option
option(SOFA_APPLICATION_RUNSOFA "Build runSofa application." ON)

## Plugins
add_subdirectory(applications/plugins)

Expand Down
5 changes: 4 additions & 1 deletion applications/projects/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ sofa_add_subdirectory(application GenerateRigid GenerateRigid)
sofa_add_subdirectory(application SofaPhysicsAPI SofaPhysicsAPI)
sofa_add_subdirectory(application SofaGuiGlut SofaGuiGlut OFF)

sofa_add_subdirectory(application runSofa runSofa ON)
if(SOFA_APPLICATION_RUNSOFA)
sofa_add_subdirectory(application runSofa runSofa ON)
endif()

sofa_add_subdirectory(application sofaOPENCL sofaOPENCL OFF)

sofa_add_subdirectory(directory Regression Regression EXTERNAL)
Expand Down

0 comments on commit a4c830a

Please sign in to comment.