File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,4 +4,5 @@ cmake_minimum_required(VERSION 3.0)
44project (vizkit3d_plugin_tutorial VERSION 0.1 DESCRIPTION "vizkit3d plugin tutorial" )
55find_package (Rock )
66rock_init ()
7+ rock_feature (NOCURDIR )
78rock_standard_layout ()
Original file line number Diff line number Diff line change 1- rock_find_qt5 (Core )
21
3- rock_vizkit_plugin (vizkit3d_plugin_tutorial-viz
4- SphereVisualization.cpp
5- DEPS vizkit3d_plugin_tutorial
6- DEPS_PKGCONFIG base-types
7- MOC SphereVisualization.hpp
8- HEADERS SphereVisualization.hpp )
2+ rock_find_qt5 (OPTIONAL )
3+ rock_find_qt4 (OPTIONAL )
4+
5+ if (ROCK_QT_VERSION_4)
6+ rock_vizkit_plugin (vizkit3d_plugin_tutorial-viz
7+ SphereVisualization.cpp
8+ DEPS vizkit3d_plugin_tutorial
9+ DEPS_PKGCONFIG base-types
10+ MOC SphereVisualization.hpp
11+ HEADERS SphereVisualization.hpp )
12+ endif ()
13+ if (ROCK_QT_VERSION_5)
14+ rock_vizkit_plugin_qt5 (vizkit3d_plugin_tutorial-viz-qt5
15+ SphereVisualization.cpp
16+ DEPS vizkit3d_plugin_tutorial
17+ DEPS_PKGCONFIG base-types
18+ MOC5 SphereVisualization.hpp
19+ HEADERS SphereVisualization.hpp )
20+ endif ()
921
Original file line number Diff line number Diff line change 33
44using namespace vizkit3d ;
55
6+
67struct SphereVisualization ::Data {
78 // Copy of the value given to updateDataIntern.
89 //
@@ -62,3 +63,7 @@ double SphereVisualization::getTransparency()
6263 return transparency;
6364}
6465
66+ namespace vizkit3d
67+ {
68+ VizkitQtPluginImpl (SphereVisualization)
69+ }
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ namespace vizkit3d
3939 Data* p;
4040 };
4141
42- VizkitQtPlugin (SphereVisualization)
42+ VizkitQtPluginHeaderDecls (SphereVisualization)
4343}
4444#endif
Original file line number Diff line number Diff line change 1+ prefix=@CMAKE_INSTALL_PREFIX@
2+ exec_prefix=@CMAKE_INSTALL_PREFIX@
3+ libdir=${prefix}/lib
4+ includedir=${prefix}/include
5+
6+ Name: vizkit3d_plugin_tutorial-viz-qt5
7+ Description: vizKit plugin for the vizkit3d_plugin_tutorial library
8+ Requires: vizkit3d_plugin_tutorial @PKGCONFIG_DEPS@
9+ Version: @PROJECT_VERSION@
10+ Libs: -L${libdir} -lvizkit3d_plugin_tutorial-viz-qt5
11+ Cflags: -I${includedir}
12+
You can’t perform that action at this time.
0 commit comments