Oops... please disregard my mention of websocketpp.... Wrong support alias!
On Tue, Mar 17, 2015 at 2:26 PM, Brian Hamon <[email protected]> wrote: > If your environment contains "DEBUG" (it doesn't matter it's value), then > scons will build debug support into the test executable. > > export DEBUG=y > scons test > > What is more important; however, is how you build your application that > links to websocketpp. Websocketpp is implemented entirely in headers, so > this is the only way to impact the application you're testing. > > Most of us still use 'make' for this, so you'd need to put some code like > this into your Makefile: > > BUILD ?= debug > ifeq ($(BUILD),debug) > CPPFLAGS += -g -O0 > endif > ifeq ($(BUILD),release) > CPPFLAGS += -O1 -fomit-frame-pointer -DNDEBUG > endif > > > > > > On Tue, Mar 17, 2015 at 1:58 PM, Saheel Godhane <[email protected]> > wrote: > >> Hello everyone, >> >> I am a PhD student doing some Software Engineering research using >> LLVM/Clang. I want to compile libuv from source in debug mode so that I can >> track assertions (in my experience, some/all assertions are left out unless >> the project in compiled in debug mode). I have found references to "debug >> mode" in other posts but couldn't find any such option in the `configure` >> script. >> >> Can someone please help me out in this? >> >> Sincerely, >> Saheel Ram Godhane. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "libuv" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/libuv. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
