[Paraview] Plugin Requiring another plugin option

Michael Jackson mike.jackson at bluequartz.net
Thu Oct 13 13:50:23 EDT 2011


Ah hah. So is adding the "target_link_libraries" the correct solution to my problem?
___________________________________________________________
Mike Jackson                    Principal Software Engineer
BlueQuartz Software                            Dayton, Ohio
mike.jackson at bluequartz.net              www.bluequartz.net

On Oct 13, 2011, at 1:45 PM, Utkarsh Ayachit wrote:

> required plugins doesn't add compile-time dependencies. It's meant for
> runtime dependencies. The Plugin Dialog will complain if required
> plugins are not loaded.
> 
> Utkarsh
> 
> On Thu, Oct 13, 2011 at 1:23 PM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
>> I have a plugin that requires another plugin to work correctly. I have the following in my CMake files for the plugin:
>> 
>> ADD_PARAVIEW_PLUGIN ("PVDislocationPlugin" "1.0"
>>    SERVER_MANAGER_SOURCES ${ParaDis_Server_Wrapped_Sources}
>>    SERVER_MANAGER_XML     ${ParaDis_SM_XML}
>>    SERVER_SOURCES         ${ParaDis_Server_Sources}
>>    GUI_RESOURCE_FILES     ${ParaDis_Client_XML}
>>    REQUIRED_ON_SERVER     ${PVDislocation_SOURCE_DIR}/Code/Client/Resources/
>>    REQUIRED_PLUGINS   "PVH5VtkPlugin")
>> target_link_libraries(PVDislocationPlugin PVH5VtkPlugin)
>> 
>> Note the "target_link_libraries" call. To get the plugin to compile I need to add that line. I would have thought the REQUIRED_PLUGINS argument would have taken care of that. Is this a bug, half implemented feature or operator error?
>> 
>> 
>> Thanks
>> ___________________________________________________________
>> Mike Jackson                    Principal Software Engineer
>> BlueQuartz Software                            Dayton, Ohio
>> mike.jackson at bluequartz.net              www.bluequartz.net
>> 
>> _______________________________________________
>> 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
>> 



More information about the ParaView mailing list