Am 26.01.2016 um 16:42 schrieb Björn Blissing:
SMesserschmidt wrote:
Hi Robert,
With the use of CMake the source and solutions are always separated.
So there is no need for the VS-ignore stuff.
Cheers
Sebastian
Hi Sebastian,
ALWAYS is a strong wording. There is nothing in CMake to prevent you from doing
an in-source build. The choice of doing in-source or out-of-source build is
completely up to you.
Sorry, of course. But it is definitely recommended to do out-of-source
buildings ;-)
I usually build OSG in-source because I prefer to have the auto generated
header files in the same folder as the rest of the osg headers. (If you do an
out-of-source build your auto generated header files will end up in the build
directory.)
But they are installed by CMake-Install, in case you are referring to
the version.h etc?
So technically there should be no explicit need to do so, at least this
always worked like a charm for me (And I'm relying on those files when
finding the correct OSG-Version from another CMake project)
I'm not arguing that using CMake prevents you from doing in-source
building, but I guess only a fraction of people is doing this.
Even if the majority is using it this way, I would still advocate for
not adding the VS specific entries to the .gitignore file.
Regards
Björn
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66138#66138
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org