FYI, I just merged removal of setting CMAKE_INSTALL_DEBUG_LIBRARIES from ParaView.<div><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 2:24 PM, Michael 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;">That is where I pulled the code from so I must have grabbed that version. But I think I am misunderstanding what should be used when with respect to BundleUtilities and INSTALL when on MSVC.<br>


<br>
  From the looks of it, if I am &quot;installing&quot; on my local machine then by definition I have all the needed runtime libraries in all the right places because I have installed Visual Studio which means placing copies of them in my installation location is probably NOT really needed. Right? Wrong?<br>

</blockquote><div><br></div><div>Right, infact, if you run your app and look at process explorer I am pretty sure you&#39;ll see it loaded msvcr9&lt;blahblah&gt;.dll from C:\Windows\winsxs\blah and not from the runtimes you have sitting right next to your executable.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
  Package/Installer Generation: This is meant to be served/given to others so the runtime libraries ARE needed, and NOT the Debug libraries (at least not officially) which means I should be using which CMake mechanism to make sure my installer is built correctly. Most of the time I am creating simple Zip installers as some of my clients can not run actual installers on their machines. Is there a tutorial some where? At this point I&#39;ll write one if someone can set me straight. Tired of spinning my wheels.<br>

</blockquote><div><br></div><div>I use clean VMs with nothing installed to test ParaView binaries. This is particularly good at showing you when you somehow didn&#39;t include the msvc runtime dlls.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<font color="#888888"><br>
--<br>
</font><div class="im">Mike Jackson &lt;<a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a>&gt;<br>
<br>
</div><div><div></div><div class="h5">On Jan 5, 2011, at 2:09 PM, David Partyka wrote:<br>
<br>
&gt; This might be my fault If you&#39;re building a paraview app. I had SET (CMAKE_INSTALL_DEBUG_LIBRARIES ON) from a month ago that I didn&#39;t remove. I&#39;ll do that right now.<br>
&gt;<br>
&gt; On Wed, Jan 5, 2011 at 1:54 PM, Michael Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; OK.So how do I NOT package them? So far they _are_ getting put into the installer even if I set Visual Studio to &quot;Release&quot;. I have this at the top of my CMake code that sets up CPack:<br>
&gt;<br>
&gt; if (MSVC)<br>
&gt; SET (CMAKE_INSTALL_DEBUG_LIBRARIES OFF)<br>
&gt; INCLUDE (InstallRequiredSystemLibraries)<br>
&gt; endif()<br>
&gt;<br>
&gt; ___________________________________________________________<br>
&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt; BlueQuartz Software               Dayton, Ohio<br>
&gt;<br>
&gt; On Jan 5, 2011, at 1:31 PM, David Cole wrote:<br>
&gt;<br>
&gt; &gt; Just as an FYI:<br>
&gt; &gt;<br>
&gt; &gt; The Debug libraries for MSVC are not redistributable components. Do<br>
&gt; &gt; not build them into an installer. People who need to use them are<br>
&gt; &gt; required to have a corresponding Visual Studio installation on their<br>
&gt; &gt; machine.<br>
&gt; &gt;<br>
&gt; &gt; We provide access to those for INSTALL simply for testing the make<br>
&gt; &gt; install tree of a debug build, possibly even copying it over to<br>
&gt; &gt; another machine for testing.<br>
&gt; &gt;<br>
&gt; &gt; But it is not intended that the MSVC Debug libraries be packaged...<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Jan 5, 2011 at 1:20 PM, Michael Jackson<br>
&gt; &gt; &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt; wrote:<br>
&gt; &gt;&gt; I am working on my CPack code for my project. What I have noticed is that the MSVC runtime libs for both Debug and Release are included when I do an INSTALL and are NOT included when I try to run the PACKAGE project. Again, this is probably something simple to solve but I just am not sure what all I should be using from CMake or creating on my own.<br>


&gt; &gt;&gt;<br>
&gt; &gt;&gt; Any pointers? I&#39;ll start wading through both the CMake projects and the ParaView projects and see what if those yield any clues.<br>
&gt; &gt;&gt; ___________________________________________________________<br>
&gt; &gt;&gt; Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
&gt; &gt;&gt; Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
&gt; &gt;&gt; BlueQuartz Software               Dayton, Ohio<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; 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>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><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 <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 CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt; &gt;<br>
&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt; &gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
<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 CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>