[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Enable debugging by default for CMake?
From: |
Ludovic Courtès |
Subject: |
Enable debugging by default for CMake? |
Date: |
Mon, 29 Sep 2014 10:43:27 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Apparently the default for CMake is to compile without -g, unlike what
Autoconf-generated configure does. This is changed by passing
‘-DCMAKE_BUILD_TYPE=RelWithDebInfo’ as a cmake flags.
Should we make it the default?
Currently adding a “debug” output to a CMake package creates a .debug
file without any debugging symbols, contrary to what happens with other
packages.
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Enable debugging by default for CMake?,
Ludovic Courtès <=