<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Excellent!<div><br></div><div>Thank you very much Ryan, that did it...</div><div><br><div><div>On Jun 4, 2010, at 6:15 PM, Ryan Pavlik wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div bgcolor="#ffffff" text="#000000"> You need multiple component specifications in your install(TARGETS comand - like this:<br> <div> <div>install(TARGETS mylib</div> <div>&nbsp;&nbsp; &nbsp;RUNTIME DESTINATION bin COMPONENT libraries</div> <div>&nbsp;&nbsp; &nbsp;LIBRARY DESTINATION lib COMPONENT libraries</div> <div>&nbsp;&nbsp; &nbsp;ARCHIVE DESTINATION lib/static COMPONENT libraries)</div> </div> <br> Ryan<br> <br> On 6/4/10 9:14 AM, David Ojeda wrote: <blockquote cite="mid:AANLkTilnaTOLniB7BhiJ7VhqZrcScDxUu-6dAPx6ZEz3@mail.gmail.com" type="cite">Hello all,  <div><br>  </div>  <div>I have a problem using the COMPONENT property of the install command. My CMakeLists.txt has several install commands:</div>  <div><br>  </div>  <div># some files...</div>  <div>install(FILES ${some_var} DESTINATION include/xxx COMPONENT headers)</div>  <div>  <div>install(FILES "${CMAKE_CURRENT_BINARY_DIR}/somefile.txt"&nbsp;</div>  <div>&nbsp;&nbsp; &nbsp;DESTINATION share/txt</div>  <div>&nbsp;&nbsp; &nbsp;COMPONENT extras)</div>  </div>  <div># a shared library created with add_library(mylib SHARED ${somefiles})</div>  <div>  <div>install(TARGETS mylib</div>  <div>&nbsp;&nbsp; &nbsp;RUNTIME DESTINATION bin</div>  <div>&nbsp;&nbsp; &nbsp;LIBRARY DESTINATION lib</div>  <div>&nbsp;&nbsp; &nbsp;ARCHIVE DESTINATION lib/static</div>  <div>&nbsp;&nbsp; &nbsp;COMPONENT libraries)</div>  </div>  <div><br>  </div>  <div>When I do&nbsp;</div>  <div>  <div>make list_install_components</div>  <div>I get:</div>  <div>Available install components are: "Unspecified" "extras" "headers"</div>  </div>  <div><br>  </div>  <div>My question is: why I don't have a "libraries" component? Does the COMPONENT property works with shared libraries?</div>  <div><br>  </div>  <div>Thank you for your help</div>  <div><br>  </div>  <div>David</div>  <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- 
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

<a class="moz-txt-link-abbreviated" href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a>
<a class="moz-txt-link-freetext" href="http://academic.cleardefinition.com/">http://academic.cleardefinition.com/</a></pre> </div>  _______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.cmake.org/mailman/listinfo/cmake</a></blockquote></div><br></div></body></html>