Skip to content

Commit

Permalink
Install basic.conf for hppcorbaserver without manipulation
Browse files Browse the repository at this point in the history
  - trying to load hppmanipulationwidgetsplugin.so when corresponding
    corba servers are not running freezes gepetto-gui.
  • Loading branch information
florent-lamiraux committed May 31, 2019
1 parent 20d7e73 commit 840868f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,14 @@ ELSE ()
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui)
ENDIF ()

# If basic.conf not yet installed, install it
IF (EXISTS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui/basic.conf")
MESSAGE (STATUS
"File ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui/basic.conf detected.")
ELSE ()
MESSAGE (STATUS "File ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui/basic.conf does not exist. Will install it.")
INSTALL (FILES etc/gepetto-gui/basic.conf
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/gepetto-gui)
ENDIF ()

SETUP_HPP_PROJECT_FINALIZE()
8 changes: 8 additions & 0 deletions etc/gepetto-gui/basic.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[plugins]

# Plugin for hpp-manipulation-server
hppmanipulationwidgetsplugin.so=false
hppmonitoringplugin.so=false

# Plugin for hppcorbaserver
hppwidgetsplugin.so=true

0 comments on commit 840868f

Please sign in to comment.