Hi Paul,

Hi all -- I recently discovered that OSG v3.0.1 appends an 'rd' suffix
to the executable name when built using the Visual Studio
RelWithDebugInfo configuration. This was not the case in v3.0.0. I tried
to identify the revision number that introduced this change, but
couldn't find it. Can someone point me to it, please? Thanks.

I'm pretty sure this has been the case for a very long time... Doing an svn blame on the root CMakeLists.txt, the line where CMAKE_RELWITHDEBINFO_POSTFIX is set to 'rd' was added in revision 11197 (March 3rd 2010), which was before 2.8.3 was released (that was 11315). So at least in trunk, it's been there since then.

Perhaps you've only begun seeing it now because you recently deleted your CMake cache or something like that?

It's a setting you can change in CMake. Look for CMAKE_*_POSTFIX in the GUI (in your case, CMAKE_RELWITHDEBINFO_POSTFIX). Remove the 'rd' there if you don't want the postfix. I agree that if you just want to drop in the relWithDebInfo binaries in place of the release ones to debug some problem, it's annoying to have an extra postfix there, but for people who always do builds of all the configurations (and do make install to the same place) it's useful to differentiate them. Different use cases, so at least CMake has the flexibility to do what you want.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to