If I have my cxx and h files for my filter in ..../MyFilter

then in ..../MyFilter/plugin I have the MyFilter.xml. I also have a
CMakeLists.txt containing

ADD_PARAVIEW_PLUGIN(MyPlugin "1.0"
  SERVER_MANAGER_XML MyPlugin.xml
SERVER_MANAGER_SOURCES ../MyPlugin.cxx
)

You'll notice the ../MyPlugin.cxx because the filter sources are not
in the plugin directory.

When I try to build I get an error:
MyFilterClientServer.cxx error: MyFilter.h: No such file or directory

I'm assuming this is because it is looking in the current directory.
Is there a way to specify where the sources reside?

Thanks,

David
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to