Skip to content
Snippets Groups Projects
Commit 808160bb authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add documentation of CMake macro GEPETTO_GUI_PLUGIN

parent 854d68e6
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
# gepetto-viewer-corba If not, see
# <http://www.gnu.org/licenses/>.
# See plugins/pluginskeleton/CMakeLists.txt for description of how to use this macro.
MACRO(GEPETTO_GUI_PLUGIN PLUGIN_NAME)
SET(options QT4 INSIDE_GEPETTO_VIEWER_CORBA)
......
......@@ -22,6 +22,16 @@ ELSE()
SET(QT4 "")
ENDIF()
## 1. Tells pkg-config to read qtversion and cmake_plugin from pkg config file.
#
# LIST(APPEND PKG_CONFIG_ADDITIONAL_VARIABLES qtversion cmake_plugin)
## 2. Include macro GEPETTO_GUI_PLUGIN
#
# INCLUDE(${GEPETTO_VIEWER_CORBA_PREFIX}/${GEPETTO_VIEWER_CORBA_CMAKE_PLUGIN})
## 3. Call GEPETTO_GUI_PLUGIN as follows
#
GEPETTO_GUI_PLUGIN(pluginskeleton
# Use this option only if you write a plugin within
# gepetto-viewer-corba package
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment