[112837] trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

jeremyhu at macports.org jeremyhu at macports.org
Sat Nov 2 10:14:29 PDT 2013


Revision: 112837
          https://trac.macports.org/changeset/112837
Author:   jeremyhu at macports.org
Date:     2013-11-02 10:14:29 -0700 (Sat, 02 Nov 2013)
Log 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.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/cmake-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/cmake-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/cmake-1.0.tcl	2013-11-02 17:13:52 UTC (rev 112836)
+++ trunk/dports/_resources/port1.0/group/cmake-1.0.tcl	2013-11-02 17:14:29 UTC (rev 112837)
@@ -137,7 +137,7 @@
 
 variant debug description "Enable debug binaries" {
     configure.args-delete   -DCMAKE_BUILD_TYPE=Release
-    configure.args-append   -DCMAKE_BUILD_TYPE=debugFull
+    configure.args-append   -DCMAKE_BUILD_TYPE=Debug
 }
 
 # cmake doesn't like --enable-debug, so in case a portfile sets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131102/5869bb18/attachment.html>


More information about the macports-changes mailing list