You&#39;ll want to add an install rule for that third party library.<div><br></div><div><div>  INSTALL(FILES ${Third_Party_lib}</div><div>    DESTINATION ${PV_INSTALL_BIN_DIR}</div><div>    COMPONENT Runtime)</div><br><div class="gmail_quote">

On Thu, May 27, 2010 at 4:54 PM, Mike Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Here is some more information about what is going on with my windows<br>
build. I had to add the following to the top of my<br>
&quot;*ParaViewImport.cmake&quot; file:<br>
<br>
SET (BUILD_PARAVIEW_PLUGINLIST ON)<br>
<br>
So now the .plugins file correctly has my plugins listed except that<br>
the &quot;autoload&quot; property is set to &quot;0&quot;. Shouldn&#39;t that be &quot;1&quot; by<br>
default? Seems odd but I am sure I don&#39;t fully understand all the<br>
ramifications of having that value set to &quot;1&quot; by default.<br>
<br>
Also, during the build I am compiling a 3rd party library that needs<br>
to get added to the installer generation. Is there a way to do this?<br>
If I run the &quot;INSTALL&quot; project from VS I get everything installed<br>
correctly. If I use the CPack command like took to generate the<br>
installer the library is missing from the install.<br>
_________________________________________________________<br>
<div class="im">Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
<br>
</div>On Thu, May 27, 2010 at 4:23 PM, Michael Jackson<br>
<div><div></div><div class="h5">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; <a href="http://gitorious.bluequartz.net/mxa/pvmxadatamodel/blobs/master/PVMXADataModelParaViewImport.cmake" target="_blank">http://gitorious.bluequartz.net/mxa/pvmxadatamodel/blobs/master/PVMXADataModelParaViewImport.cmake</a><br>


&gt;<br>
&gt; I am calling ADD_PARAVIEW_PLUGIN in my Cmake files. Not sure why this isn&#39;t<br>
&gt; working. I thought we had that fixed. At least at some point during the RC<br>
&gt; process this did actually work.<br>
&gt; --<br>
&gt; Mike J.<br>
&gt;<br>
&gt; On May 27, 2010, at 4:06 PM, Dave Partyka wrote:<br>
&gt;<br>
&gt;&gt; How are you building your plugin? I believe that the ADD_PARAVIEW_PLUGIN<br>
&gt;&gt; macro constructs the list of Plugins that get written into the .plugins<br>
&gt;&gt; file.<br>
&gt;&gt;<br>
&gt;&gt; On Thu, May 27, 2010 at 3:54 PM, Mike Jackson<br>
&gt;&gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt; So then what is the point of having ParaView look in the plugins<br>
&gt;&gt; directory if it is not going to be used. Why not just have ParaView<br>
&gt;&gt; look in the &quot;bin&quot; folder (at least on windows)?<br>
&gt;&gt;<br>
&gt;&gt; I see there is a file called &quot;.plugins&quot; inside the bin directory. Mine<br>
&gt;&gt; has the following content:<br>
&gt;&gt;<br>
&gt;&gt; &lt;?xml version=&quot;1.0&quot;?&gt;<br>
&gt;&gt; &lt;Plugins&gt;<br>
&gt;&gt;  &lt;Plugin name=&quot;SierraPlotTools&quot; auto_load=&quot;0&quot;/&gt;<br>
&gt;&gt;  &lt;Plugin name=&quot;SurfaceLIC&quot; auto_load=&quot;0&quot;/&gt;<br>
&gt;&gt;  &lt;Plugin name=&quot;AnalyzeReader&quot; auto_load=&quot;0&quot;/&gt;<br>
&gt;&gt;  &lt;Plugin name=&quot;AnalyzeWriter&quot; auto_load=&quot;0&quot;/&gt;<br>
&gt;&gt;  &lt;Plugin name=&quot;NIfTIReader&quot; auto_load=&quot;0&quot;/&gt;<br>
&gt;&gt;  &lt;Plugin name=&quot;NIfTIWriter&quot; auto_load=&quot;0&quot;/&gt;<br>
&gt;&gt; &lt;/Plugins&gt;<br>
&gt;&gt;<br>
&gt;&gt; This is missing my plugins although the plugins are &quot;installed&quot; in the<br>
&gt;&gt; bin directory during the &quot;INSTALL&quot; project build. There is another<br>
&gt;&gt; file in the build directory called &quot;PluginList.txt&quot; that _does_ list<br>
&gt;&gt; my plugins though.<br>
&gt;&gt; _________________________________________________________<br>
&gt;&gt; Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt;&gt; BlueQuartz Software                    <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; Principal Software Engineer                  Dayton, Ohio<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, May 27, 2010 at 3:42 PM, Utkarsh Ayachit<br>
&gt;&gt; &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Mike,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; That was a conscious decision. We deliberately install all plugin dlls<br>
&gt;&gt; &gt; in the same directory as the paraview.exe on windows, just to avoid<br>
&gt;&gt; &gt; missing dlls issues at runtime. Originally, we had the separate<br>
&gt;&gt; &gt; &quot;plugins&quot; directory to make it easier for users to locate the plugins<br>
&gt;&gt; &gt; and load them manually. But now, that&#39;s a non-issue, since paraview<br>
&gt;&gt; &gt; explicitly lists all the plugins it&#39;s distributed with in the plugin<br>
&gt;&gt; &gt; manager dialog.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Are you saying that the plugins added using<br>
&gt;&gt; &gt; PARAVIEW_EXTRA_EXTERNAL_MODULES are not being installed at all? If<br>
&gt;&gt; &gt; that&#39;s the case, then it&#39;s definitely a bug.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As far as the package generation goes, you need to use CPack. Refer to<br>
&gt;&gt; &gt; this wiki page for details:<br>
&gt;&gt; &gt; <a href="http://www.paraview.org/Wiki/ParaView:Build_And_Install#Install_ParaView" target="_blank">http://www.paraview.org/Wiki/ParaView:Build_And_Install#Install_ParaView</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Utkarsh<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Thu, May 27, 2010 at 12:37 PM, Mike Jackson<br>
&gt;&gt; &gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; Pulled ParaView 3.8.0 from Git. Configured with CMake for VS2008 x64<br>
&gt;&gt; &gt;&gt; with PARAVIEW_EXTRA_EXTERNAL_MODULES listing 4 of my custom plugins.<br>
&gt;&gt; &gt;&gt; Compiled. Installed. And all the &quot;client&quot; plugins are installed lose<br>
&gt;&gt; &gt;&gt; into the ParaView-3.8.0/bin directory instead of<br>
&gt;&gt; &gt;&gt; ParaView-3.8.0/bin/plugins. Also, I have NSIS installed, where is the<br>
&gt;&gt; &gt;&gt; &quot;PACKAGE&quot; target in the VS Solution or is there another mechanism to<br>
&gt;&gt; &gt;&gt; use to create the installer?<br>
&gt;&gt; &gt;&gt;  The other (probably more likely) possibility is that I didn&#39;t really<br>
&gt;&gt; &gt;&gt; pull the 3.8.0 tag from git and instead have some other tag.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; # On branch v3.8.0<br>
&gt;&gt; &gt;&gt; # Changed but not updated:<br>
&gt;&gt; &gt;&gt; #   (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)<br>
&gt;&gt; &gt;&gt; #   (use &quot;git checkout -- &lt;file&gt;...&quot; to discard changes in working<br>
&gt;&gt; &gt;&gt; directory)<br>
&gt;&gt; &gt;&gt; #<br>
&gt;&gt; &gt;&gt; #       modified:   CMake/FindHDF5.cmake<br>
&gt;&gt; &gt;&gt; #<br>
&gt;&gt; &gt;&gt; # Untracked files:<br>
&gt;&gt; &gt;&gt; #   (use &quot;git add &lt;file&gt;...&quot; to include in what will be committed)<br>
&gt;&gt; &gt;&gt; #<br>
&gt;&gt; &gt;&gt; #       .cproject<br>
&gt;&gt; &gt;&gt; #       .project<br>
&gt;&gt; &gt;&gt; #       Applications/ParaView/Testing/XML/Fractal3D.xml<br>
&gt;&gt; &gt;&gt; #       CMake/AdjustLibVars.cmake<br>
&gt;&gt; &gt;&gt; #       CMake/_FindHDF5.cmake<br>
&gt;&gt; &gt;&gt; #       i386/<br>
&gt;&gt; &gt;&gt; #       x64/<br>
&gt;&gt; &gt;&gt; no changes added to commit (use &quot;git add&quot; and/or &quot;git commit -a&quot;)<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;  I just tried this with the ParaView 3.8.0 source code .zip file from<br>
&gt;&gt; &gt;&gt; the <a href="http://paraview.org" target="_blank">paraview.org</a> web site and had the same results. I also built the<br>
&gt;&gt; &gt;&gt; NSIS installer, and then actually ran the installer and the same issue<br>
&gt;&gt; &gt;&gt; happens. Bug?<br>
&gt;&gt; &gt;&gt; _________________________________________________________<br>
&gt;&gt; &gt;&gt; Mike Jackson                  <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt;&gt; &gt;&gt; BlueQuartz Software                    <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt;&gt; &gt;&gt; Principal Software Engineer                  Dayton, Ohio<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>