On Wednesday 09 May 2012, Michael Wild wrote:
> On 09.05.2012, at 21:03, Alexander Neundorf <a.neundorf-w...@gmx.net> wrote:
...
> > > # configure the headers into the build tree so the package can be used
> > > # without installing it and not hard-coding the source/build directory
> > > # information into FooConfig.cmake
> > > configure_file(include/foo.h
> > > ${PROJECT_BINARY_DIR}/include/foo.h COPYONLY)
> > 
> > The input file should have a suffix which indicates it is a file which is
> > intended to be configured, usually foo.h.in. Alex
> 
> I don't agree, since it's COPYONLY. Besides, with a little more work in
> FooConfig.cmake you can skip that step...

Oh, sorry, I missed the COPYONLY.

Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to