No, not silly advice. I just use the documentation on cmake.org out of
habit, and they apparently don't keep it up to date. For a while,
apparently, during 2.4 CMake, there was an INSTALL(DIRECTORY ) form
available and they got rid of it.

A pity because other than that, there is no portable way to simply
copy a directory tree to an installation directory.  I did it the hard
way around, putting a CMakeLists.txt in every subdirectory that needs
to be copied, with an INSTALL(FILES ) command that lists all the files
in that directory...

On 5/22/07, David Cole <[EMAIL PROTECTED]> wrote:
Then the subject line of your original email is a typo? I'm sorry if I
offered silly advice, I thought you were using CMake 2.5-20060616...



On 5/22/07, kent williams <[EMAIL PROTECTED]> wrote:
> Um, I use a newer CMake, just read the docs on CMake.org which are
> apparently older?
>
> On 5/22/07, David Cole <[EMAIL PROTECTED]> wrote:
> > 20060616 is a snapshot from CVS that is almost a year old now. You
should
> > use the --help with your local CMake for what existed in CMake as of
that
> > time...
> >
> > Or - better yet - update to a more current CMake.
> >
> > HTH,
> > David
> >
> >
> >
> > On 5/22/07, kent williams <[EMAIL PROTECTED]> wrote:
> > >
> > > According to the man pages for 2.4-patch 7 RC-6 on CMake.org, there is
> > > a form of the INSTALL command for directories.  After reading through
> > > the description, I added a command to install a subdirectory into the
> > > bin install directory:
> > >
> > > INSTALL(DIRECTORY pipeline_approved DESTINATION bin)
> > >
> > > i.e. pipeline_approved is a directory in the same directory as my
> > > CMakeLists.txt, and I want the file to go into the installation tree
> > > bin directory.
> > >
> > > But when I run CMake, I get this message:
> > >
> > > CMake Error: Error in cmake code at
> > >
> >
/Volumes/Scratch/kent/brains2/src/iplProg/CMakeLists.txt:61:
> > > INSTALL called with unknown mode DIRECTORY
> > > -- cmake src dir = /Volumes/Scratch/kent/brains2
> > >
> > > What's up with that?
> > > _______________________________________________
> > > CMake mailing list
> > > CMake@cmake.org
> > > http://www.cmake.org/mailman/listinfo/cmake
> > >
> >
> >
>


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to