[osg-submissions] DLL placement on Windows

Luigi Calori l.calori at cineca.it
Fri Aug 24 08:42:58 PDT 2007


Jean-Sébastien Guay wrote:

>Hello Robert,
>
>Renaming this thread, since it isn't related to the fix I did anymore...
>  
>
Agree

>  
>
>>You don't always want to install the OSG, when I do all my dev work I
>>never install the OSG, just use paths set to the local build directory
>>and can run everything without problems.  Having to install requires
>>you to install everything, even when you just change a single file.
>>    
>>
>
>Ok, I can see your point, but for me running INSTALL takes all of  
>about 3 seconds, so I never saw a problem. 
>
In 3 seconds you install all plugins and examples?
You are lucky, on my old laptop it takes at least 20 times more.. sic
 furthermore, install is designed to install EVERYTHING, so, for 
example, fails if the build is not completely succesful (I do not 
currently build wrapper because of that.... they tend to show more 
building errors),
If at some time, some form of automatic building / testing will be set 
up, having to rely on install before being able to test is probably not 
streamline CMake practice.

>Also, using  
>OSG_LIBRARY_PATH you can get it to find the right libs without running  
>INSTALL,
>
That was something I missed, I' ve cheched and it is searched BEFORE, so 
it effectively allow overriding of statndard behaviour by environment 
setting, good.

> if you really don't want to run it, so I was just thinking  
>that wide-sweeping changes for something that already works weren't  
>really necessary.
>  
>
My original post was just about adding three line  in a CMake macro, 
what Robert has in mind is surely harder to achieve.

>But if you want to make it work without requiring the INSTALL step, go  
>ahead, I just find it isn't time well spent, but that's your call.
>  
>
I did not want to start a flame...

my intent was  to automate the process of update-build-test as much as 
possible.
I 'll try to see if there is a way to achieve the suggested build folder 
layout that is not too complicated, anyway the install layout should not 
be affected.

Thanks
             Luigi


More information about the osg-submissions mailing list