(CMake): fix the plugin config command
Summary
When the macro fwServicesRegisterMacro
is not used, the file registerServices
will be automatically generated by our cmake from the doxygen.
What is the current bug behavior?
If the doxygen contains data with more than one namespace, the generated file will include the wrong header.
What is the expected correct behavior?
The generated file must include the right header.
Relevant logs and/or screenshots
/* WARNING, this file is GENERATED by Sight CMake-based build system from CMake/build/registerServices.cpp.in
* DO NOT EDIT MANUALLY !!!
*/
#include <fwRenderQt/data.hpp>
#include <fwData/TransferFunction.hpp>
#include <fwData/Composite.hpp>
#include <fwData/TransferFunction.hpp>
#include "scene2D/adaptor/SMultipleTF.hpp"
#include <fwServices/macros.hpp>
fwServicesRegisterMacro( ::fwRenderQt::IAdaptor, ::scene2D::adaptor::SMultipleTF )
fwServicesRegisterObjectMacro( ::scene2D::adaptor::SMultipleTF, ::fwRenderQt::data::Viewport )
fwServicesRegisterObjectMacro( ::scene2D::adaptor::SMultipleTF, ::fwData::TransferFunction )
fwServicesRegisterObjectMacro( ::scene2D::adaptor::SMultipleTF, ::fwData::Composite )
fwServicesRegisterObjectMacro( ::scene2D::adaptor::SMultipleTF, ::fwData::TransferFunction )
The file fwRenderQt/data.hpp
doen't exist, the real one is fwRenderQt/data/Viewport.hpp