Re: [osg-users] CMake INSTALL target and vc10

2013-10-09 Thread Ethan Fahy
I know this thread is long dead, but since it describes exactly the problem I am currently having with the INSTALL command on visual studio 2010 I figured I'd ask if anyone ever found a fix to this? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=5

Re: [osg-users] CMake INSTALL target and vc10

2011-10-05 Thread Jean-Sébastien Guay
Hi Mattias, Thanks for your hints, I certainly don't want to bother you with testing anything, just having a look and giving me some hints is useful. I'll check out what you said tomorrow. Thanks, J-S On 05/10/2011 2:50 PM, Mattias Helsing wrote: Hi J-S, I'm not at windows computer so ca

Re: [osg-users] CMake INSTALL target and vc10

2011-10-05 Thread Mattias Helsing
Hi J-S, I'm not at windows computer so can't get into testing, but I think you might find some magic in the HANDLE_MSVC_DLL macro. I'm guessing that the young osgPPU build system was inspired by the osg one and in the last months I think there were some substantial changes to OsgMacroUtils.cmake i

Re: [osg-users] CMake INSTALL target and vc10

2011-10-04 Thread Jean-Sébastien Guay
Hi Mattias, The osgPPU.dll it's trying to copy is actually in C:\Dev\OSG_Nodekits\osgPPU\build_vc10sp1_osg283\lib\Release Actually I was wrong, that was an old one. The one it's building now is correctly in C:\Dev\OSG_Nodekits\osgPPU\build_vc10sp1_osg283\bin So it seems that the problem i

Re: [osg-users] CMake INSTALL target and vc10

2011-10-04 Thread Jean-Sébastien Guay
Hi Mattias, I think the easy solution is to set: CMAKE_ARCHIVE_OUTPUT_DIRECTORY, CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY properly. Where do I have to set these? I tried inserting the code you gave either in the ModuleInstall.cmake module, or in the top-level CMakeLi

Re: [osg-users] CMake INSTALL target and vc10

2011-10-04 Thread Mattias Helsing
Hi J-S, I think the easy solution is to set: CMAKE_ARCHIVE_OUTPUT_DIRECTORY, CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY properly. That is all I do on my personal projects and it it what is done in the OSG toplevel CMakeLists.txt. However this requires cmake-2.6.0. cmake-2.8.

[osg-users] CMake INSTALL target and vc10

2011-10-03 Thread Jean-Sébastien Guay
Hi all, I vaguely remember there being a discussion about this when vc10 came out, but I don't remember the conclusion or what fixed it for OSG, so... I'm trying to compile osgPPU for vc10, and I'm getting this error when building the INSTALL target: 2> -- Installing: C:/Dev/OSG_Nodekits/