Do you need to include_directories(../) ? Pat
On Sun, Nov 29, 2009 at 12:08 PM, David Doria <[email protected]> wrote: > On Sun, Nov 29, 2009 at 11:48 AM, Dave Partyka <[email protected]> > wrote: > > Is there a MyPlugin.h file and is it in the same directory as the .cxx? > If I > > recall correctly the ADD_PARAVIEW_PLUGIN sets up client/server wrappings > and > > makes an assumption that each source file you give it has a header file. > > There is indeed a MyPlugin.h that is in the same directory as > MyPlugin.cxx. What I think the problem is though is the CMakeLists.txt > is not in the same directory as those source files. > > The setup is like this > ..../MyFilter/MyFilter.cxx > ..../MyFilter/MyFilter.h > ..../MyFilter/CMakeLists.txt > ..../MyFilter/plugin/MyFilter.xml > ..../MyFilter/plugin/CMakeLists.txt > > The MyFilter CMakeLists SUBDIRS the plugin directory. The > plugin/CMakeLists.txt has > > ADD_PARAVIEW_PLUGIN(MyFilter "1.0" > SERVER_MANAGER_XML MyFilter.xml > SERVER_MANAGER_SOURCES ../MyFilter.cxx > ) > > I think the problem is that it is looking in ..../MyFilter/plugin for > the .h file. Am I misunderstanding? Is there a way to tell it where to > look (in this case, ../)? > > 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 >
_______________________________________________ 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
