I don't think you can do both. Specifying -C <Release/Debug> tells cpack which directory to grab everything out of. Also if you do Debug I don't believe there are install rules to grab the .pdb symbol files. Though, that probably wouldn't be hard to do.<br>
<br><div class="gmail_quote">On Wed, Apr 7, 2010 at 5:02 PM, Ben Medina <span dir="ltr"><<a href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dave,<br>
I'm updating now, and I'll let you know how it goes.<br>
<br>
A related question is how to build the dev tree on Windows. How do I<br>
get both debug and release versions of the libraries into one package?<br>
Or is it safe to just include the release version?<br>
<br>
Thanks,<br>
Ben<br>
<br>
Note: I didn't mean to take this discussion off-list, sorry.<br>
<div><div></div><div class="h5"><br>
On Wed, Apr 7, 2010 at 11:18 AM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>> wrote:<br>
> Hi Ben,<br>
> Try updating again when you get a chance. I found some CMake code that was<br>
> overriding the Development Component thus causing it to not get installed.<br>
> Thanks!<br>
><br>
> On Wed, Apr 7, 2010 at 11:55 AM, Ben Medina <<a href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>> wrote:<br>
>><br>
>> Thanks, Dave! I'll try out the qch fix soon. Other than that, make<br>
>> install seems to produce exactly what I want, so I'll use that for<br>
>> now.<br>
>><br>
>> I do have PARAVIEW_INSTALL_DEVELOPMENT turned on, but the resulting<br>
>> tar.gz is not usable for development. My CMake cache is attached.<br>
>><br>
>> Thank,<br>
>> Ben<br>
>><br>
>> On Wed, Apr 7, 2010 at 6:22 AM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>><br>
>> wrote:<br>
>> > Hi Ben,<br>
>> > If you do an update it shouldn't attempt to install the qch file. Also<br>
>> > so<br>
>> > you know, the ParaViewConfig.cmake file doesn't get installed if<br>
>> > PARAVIEW_INSTALL_DEVELOPMENT is turned off.<br>
>> > Let me know if you have anymore issues. Thanks!<br>
>> ><br>
>> > On Wed, Apr 7, 2010 at 9:01 AM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Hi Ben,<br>
>> >> You need to turn on PARAVIEW_INSTALL_DEVELOPMENT to get the include<br>
>> >> directories. Is that the case? The ParaViewConfig.cmake file "should"<br>
>> >> be in<br>
>> >> the lib/paraview-x.x/ directory. I will try testing this out. The<br>
>> >> install<br>
>> >> rule for paraview.qch needs logic to disable it when there is no gui.<br>
>> >> I'll<br>
>> >> fix that right now.<br>
>> >> Thanks for your feedback!<br>
>> >><br>
>> >> On Tue, Apr 6, 2010 at 7:51 PM, Ben Medina <<a href="mailto:ben.medina@gmail.com">ben.medina@gmail.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> Hello all,<br>
>> >>><br>
>> >>> I've been trying to generate a development tree of ParaView (based on<br>
>> >>> CVS head as of a few hours ago) that I can distribute to other<br>
>> >>> in-house developers so that they don't have to build ParaView<br>
>> >>> themselves. I've been following the instructions here:<br>
>> >>><br>
>> >>> <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>
>> >>><br>
>> >>> I have set the CMake variables as described (with<br>
>> >>> PARAVIEW_BUILD_QT_GUI OFF). Building and packaging works correctly,<br>
>> >>> but the resultant tarball (built via cpack -G TGZ --config<br>
>> >>><br>
>> >>> {ParaViewBuildDir}/Servers/Executables/CPackParaViewServersConfig.cmake)<br>
>> >>> contains only lib and bin directories; there is no include directory,<br>
>> >>> nor a ParaViewConfig.cmake file.<br>
>> >>><br>
>> >>> make install seems more promising, as I do end up with a more complete<br>
>> >>> tree. However, the install fails with the following error:<br>
>> >>> CMake Error at Documentation/cmake_install.cmake:36 (FILE):<br>
>> >>> file INSTALL cannot find<br>
>> >>><br>
>> >>><br>
>> >>> "/home/ben/3rdpartylibs/paraview/3.7b/unpacked-download-directory/linuxg29x64.26/Documentation/paraview.qch".<br>
>> >>> Call Stack (most recent call first):<br>
>> >>> cmake_install.cmake:95 (INCLUDE)<br>
>> >>><br>
>> >>> Can anyone tell what's going wrong?<br>
>> >>><br>
>> >>> Thanks,<br>
>> >>> Ben<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<br>
>> >>> <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:<br>
>> >>> <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>
>> >><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>