They did not get rid of it... It&#39;s fairly new functionality.<br><br>Newer than the CMake you are using.<br>(What&#39;s the output of &quot;cmake --version&quot; for you?)<br><br>Update your CMake and you will get INSTALL(DIRECTORY...
<br><br>:-)<br><br><br><div><span class="gmail_quote">On 5/22/07, <b class="gmail_sendername">kent williams</b> &lt;<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
No, not silly advice. I just use the documentation on <a href="http://cmake.org">cmake.org</a> out of<br>habit, and they apparently don&#39;t keep it up to date. For a while,<br>apparently, during 2.4 CMake, there was an INSTALL(DIRECTORY ) form
<br>available and they got rid of it.<br><br>A pity because other than that, there is no portable way to simply<br>copy a directory tree to an installation directory.&nbsp;&nbsp;I did it the hard<br>way around, putting a CMakeLists.txt
 in every subdirectory that needs<br>to be copied, with an INSTALL(FILES ) command that lists all the files<br>in that directory...<br><br>On 5/22/07, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com
</a>&gt; wrote:<br>&gt; Then the subject line of your original email is a typo? I&#39;m sorry if I<br>&gt; offered silly advice, I thought you were using CMake 2.5-20060616...<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 5/22/07, kent williams &lt;
<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>&gt; wrote:<br>&gt; &gt; Um, I use a newer CMake, just read the docs on CMake.org which are<br>&gt; &gt; apparently older?<br>&gt; &gt;<br>&gt; &gt; On 5/22/07, David Cole &lt;
<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>&gt; &gt; &gt; 20060616 is a snapshot from CVS that is almost a year old now. You<br>&gt; should<br>&gt; &gt; &gt; use the --help with your local CMake for what existed in CMake as of
<br>&gt; that<br>&gt; &gt; &gt; time...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Or - better yet - update to a more current CMake.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; HTH,<br>&gt; &gt; &gt; David<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 5/22/07, kent williams &lt;<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; According to the man pages for 
2.4-patch 7 RC-6 on CMake.org, there is<br>&gt; &gt; &gt; &gt; a form of the INSTALL command for directories.&nbsp;&nbsp;After reading through<br>&gt; &gt; &gt; &gt; the description, I added a command to install a subdirectory into the
<br>&gt; &gt; &gt; &gt; bin install directory:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; INSTALL(DIRECTORY pipeline_approved DESTINATION bin)<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; i.e. pipeline_approved is a directory in the same directory as my
<br>&gt; &gt; &gt; &gt; CMakeLists.txt, and I want the file to go into the installation tree<br>&gt; &gt; &gt; &gt; bin directory.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; But when I run CMake, I get this message:<br>
&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; CMake Error: Error in cmake code at<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; /Volumes/Scratch/kent/brains2/src/iplProg/CMakeLists.txt:61:<br>&gt; &gt; &gt; &gt; INSTALL called with unknown mode DIRECTORY
<br>&gt; &gt; &gt; &gt; -- cmake src dir = /Volumes/Scratch/kent/brains2<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; What&#39;s up with that?<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; CMake mailing list
<br>&gt; &gt; &gt; &gt; <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>&gt; &gt; &gt; &gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>