You should be able to do this by invoking Cmake with
-DCMAKE_BUILD_TYPE=DEBUG
Am 20.04.2015 18:26 schrieb "midi-pascal" <midi-pas...@videotron.ca>:
> Hi all,
>
> I try to build lmms (master branch) with debug info under Linux (Ubuntu)
> but I cannot find any cmake option to replace the compiler flag "-O3" by
> "-g" in the generated Makefiles.
>
> Is there a simple way to achieve this or do I have to edit the CXXFLAGS
> manually in the generated Makefiles?
>
> I tried to add CXXFLAGS=-g in the environnement before calling cmake
> with no effect on the results.
>
> Does someone have a hint?
>
> Regards,
> midi-pascal
>
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> LMMS-devel mailing list
> LMMS-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lmms-devel
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel