On Sun, Jul 29, 2012 at 9:58 PM, Matthew Sherborne <[email protected]> wrote: >> 3. I think, cmake/FindWt.cmake may be useful > > Yeah, definitely. One thing it should have should be variables to look for > the debug Wt libraries plus the non debug versions. You know how when you > compile Wt, it can build wtd.so for the debug version and wt.so for the > release one.
The proper way to do this on Unix platforms is to install the release library to /usr/lib and the debug symbols to /usr/lib/debug/usr/lib. When you debug the library, gdb will load the debug symbols and combine them with the release library. You to do this, you must use CMAKE_BUILD_TYPE=RelWithDebInfo and then strip. That's exactly what the Debian (and Ubuntu) packaes do. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
