[osg-submissions] API configurations in a seperate Config include file

Robert Osfield robert.osfield at gmail.com
Mon Jun 23 00:56:54 PDT 2008


Hi Mathias,

On Mon, Jun 23, 2008 at 8:36 AM, Mathias Fröhlich
<M.Froehlich at science-computing.de> wrote:
> I don't believe that this works:
> That  cmake generated CONFIGURE_FILE's should not appear in the
> LIB_PUBLIC_HEADERS variable of the library. The INSTALL_FILES line in the
> posted change ensures that the generated file is installed into the prefix
> directory.
>
> So you should not need that. Probably this breaks the build on a fresh
> checkout or of an out of source build.
>
> ... may be this is the reason for the long thread here??

Well I got it working now - the problem wasn't that the fresh check
out caused problems but the out of source build having a local copy of
the headers.  Adding the full path of these headers into the header
list and moving the cofig generation infront of the include of the src
CmakeList.txts solved the problem - so all is now well as far as I'm
aware.

Robert.


More information about the osg-submissions mailing list