Default plugin documentation rules copy sources to build tree which interferes with includes
When modifying the source file of a filter in a module (plugin?), the server manager wrapping is not regenerated, resulting in a non buildable state. With master 34627b85
How to reproduce :
- Build ParaView
- In Plugins/ArrowGlyph/Filter/vtkArrowGlyphFilter.*, replace
ScaleFactor
byScaleFooFactor
- rebuild ParaView
FAILED: Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterCS.dir/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx.o
/usr/bin/c++ -IPlugins/ArrowGlyph/Filter -I/home/glow/work/paraview/paraviewSecondary/paraview/Plugins/ArrowGlyph/Filter -IVTK/Common/ExecutionModel -I/home/glow/work/paraview/paraviewSecondary/paraview/VTK/Common/ExecutionModel -IVTK/Common/Core -I/home/glow/work/paraview/paraviewSecondary/paraview/VTK/Common/Core -IVTK/Common/DataModel -I/home/glow/work/paraview/paraviewSecondary/paraview/VTK/Common/DataModel -IVTK/Common/Math -I/home/glow/work/paraview/paraviewSecondary/paraview/VTK/Common/Math -IVTK/Common/Transforms -I/home/glow/work/paraview/paraviewSecondary/paraview/VTK/Common/Transforms -IParaViewCore/ClientServerStream -I/home/glow/work/paraview/paraviewSecondary/paraview/ParaViewCore/ClientServerStream -isystem VTK/Utilities/KWIML -isystem /home/glow/work/paraview/paraviewSecondary/paraview/VTK/Utilities/KWIML -isystem VTK/Utilities/KWSys -isystem /home/glow/work/paraview/paraviewSecondary/paraview/VTK/Utilities/KWSys -Wall -Wextra -Wshadow -Woverloaded-virtual -Wno-deprecated -Wno-strict-overflow -Wno-array-bounds -Wunreachable-code -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterCS.dir/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx.o -MF Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterCS.dir/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx.o.d -o Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterCS.dir/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx.o -c Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx
Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx: In function ‘int vtkArrowGlyphFilterCommand(vtkClientServerInterpreter*, vtkObjectBase*, const char*, const vtkClientServerStream&, vtkClientServerStream&, void*)’:
Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx:144:11: error: ‘class vtkArrowGlyphFilter’ has no member named ‘SetScaleFactor’; did you mean ‘SetScaleFooFactor’?
op->SetScaleFactor(temp0);
^~~~~~~~~~~~~~
SetScaleFooFactor
Plugins/ArrowGlyph/CMakeFiles/vtkArrowGlyphFilterClientServer.cxx:152:22: error: ‘class vtkArrowGlyphFilter’ has no member named ‘GetScaleFactor’; did you mean ‘GetScaleFooFactor’?
temp20 = (op)->GetScaleFactor();
^~~~~~~~~~~~~~
GetScaleFooFactor
[17/20] Building CXX object Plugins/LagrangianParticleTracker/CMakeFiles/LagrangianParticleTracker.dir/pqIntegrationModelSurfaceHelperWidgetPWIImplementation.cxx.o
Edited by Ben Boeckel