Here are some details on how to build and install plugins with CMake.
More...
Here are some details on how to build and install plugins with CMake.
- Get the macro.
LIST(APPEND PKG_CONFIG_ADDITIONAL_VARIABLES qtversion cmake_plugin)
ADD_REQUIRED_DEPENDENCY("gepetto-viewer")
INCLUDE(${GEPETTO_VIEWER_PREFIX}/${GEPETTO_VIEWER_CMAKE_PLUGIN})
- Declare a C++ plugin:
GEPETTO_GUI_PLUGIN(pluginskeleton
${QT4}
HEADERS_NO_MOC
HEADERS
plugin.hh
FORMS
RESOURCES
SOURCES
plugin.cc
LINK_DEPENDENCIES
PKG_CONFIG_DEPENDENCIES
)
- Declare a Python plugin:
GEPETTO_GUI_PYPLUGIN (pythonfile)