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

Jean-Sébastien Guay jean-sebastien.guay at cm-labs.com
Fri Jun 20 13:20:25 PDT 2008


Hi Robert,

> If you do an install of the OSG this should solve the problem.  If you
> don't do an install then doing out source builds will require you to
> add an extra include to find the Config files.  So doable, but not as
> pretty as it could be.

OK, so since I always do an install I shouldn't run into the same 
problem as Bob.

Any reason why CMake can't put the generated Config file into the 
source's include dir, even for out of source builds? I don't know what's 
worse, CMake putting files into your source tree even for out-of-source 
builds or referencing a directory in the build tree in a project's 
include paths... That's why I always do an install, I personally see the 
build directory as strictly temporary - it shouldn't be used for 
anything other than while building.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.guay at cm-labs.com
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/


More information about the osg-submissions mailing list