Ignore:
Timestamp:
Nov 2, 2013, 5:14:29 PM (6 years ago)
Author:
jeremyhu@…
Message:

Change the CMAKE_BUILD_TYPE to Debug instead of debugFull for the +debug variant in the CMake PortGroup. (#40648)

"debugFull" is not a standard build type in CMake so there are no default compiler flags set for
it, which would turn on the inclusion of debug symbols. Instead, CMake provides the build type
"Debug" for this purpose. Only KDE provides in its CMake build infrastructure support for a build
type called "DebugFull", which turns off optimization, as KDE leaves it on for the "Debug" build
type. Confer to <​http://techbase.kde.org/Development/CMake/Addons_for_KDE> for further
explanations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

    r112836 r112837  
    138138variant debug description "Enable debug binaries" {
    139139    configure.args-delete   -DCMAKE_BUILD_TYPE=Release
    140     configure.args-append   -DCMAKE_BUILD_TYPE=debugFull
     140    configure.args-append   -DCMAKE_BUILD_TYPE=Debug
    141141}
    142142
Note: See TracChangeset for help on using the changeset viewer.