Hello,

I placed all additional software to a subdirectory of the 
OpenSceneGraph_SOURCE_DIR path because
I have a lot of other solutions in the project path of VS.net and I like to 
know which software path
belongs to which solution/project. But, with the proposed solutions you can 
change the path to 3RDPARTY_DIR
and each plugin and set the path individually. It's like what can be done under 
Unix with ./config.
The first statement 'SET(PLUGINS_DIR ${OpenSceneGraph_SOURCE_DIR}/Plugins' was 
only for internal use of
config.cmake.

The main aspect is the introduction of such a config.cmake for windows.

Wolfgang



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Jean-Sébastien 
Guay
Gesendet: Donnerstag, 13. September 2007 16:40
An: [email protected]
Betreff: Re: [osg-users] CMAKE for Windows

Hello Wolfgang,

> SET(PLUGINS_DIR ${OpenSceneGraph_SOURCE_DIR}/Plugins)
>
> SET(ENV{3RDPARTY_DIR} ${PLUGINS_DIR}/3rdParty)
> SET(ENV{COLLADA_DIR} ${PLUGINS_DIR}/Collada)
> SET(ENV{OPENVRML_DIR} ${PLUGINS_DIR}/OpenVRML)
> .....

So you want the 3rdParty directory to live inside  
OpenSceneGraph/Plugins? In the past, the standard location has always  
been parallel to OpenSceneGraph, which I find cleaner because then if  
you need to you can just wipe the OpenSceneGraph dir and re-checkout  
from SVN to get a clean source tree.

Other than that, I'm all for standardizing a set of paths for plugins  
and dependencies. I just don't agree with putting them *inside*  
OpenSceneGraph. I think parallel would be better. Something like:

<some_parent_dir>/OpenSceneGraph
<some_parent_dir>/3rdParty
<some_parent_dir>/Collada
<some_parent_dir>/OpenVRML

Of course, if ${PLUGINS_DIR} is modifiable then it's less of a  
problem, but I still think the default should promote a clean source  
directory.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-----------------------------------------
IABG mbH
Sitz der Gesellschaft: Ottobrunn, Registergericht: Amtsgericht Muenchen, HRB 
5499
Geschaeftsfuehrung: Prof. Dr.-Ing. Rudolf F. Schwarz (Vorsitz), Dipl.-Ing. 
Thomas Dittler, MBA
Vorsitzender des Aufsichtsrats: General a. D. Wolfgang Altenburg

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to