> Dear all, > > I am trying to retrieve the full path of a dll to be able to compute > the full path of the associated pdb file. I thought I could simply use > the get_target_property( LOCATION) API, however it fails to return the > actual name of the TARGET, for instance the value of > CMAKE_DEBUG_POSTFIX it not taken into account (using cmake 2.8.3). > > Is there another API to retrieve the path to a dll file generated by > cmake from its target name ?
We did this using the brute force attempt of guessing the possible locations (with Debug/RelWithDebInfo/without) and using the one that works. What about an INSTALL(target DEBUG_SYMBOLS DESTINATION dbg). That could sometime made working also with separated gcc debug symbols or things like that. Eike _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake