[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 250527] New: CMake manager uses "Release" as -DCMAKE_BUILD_TYPE
From:       Felix Tiede <info () pc-tiede ! de>
Date:       2010-09-08 6:57:09
Message-ID: bug-250527-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=250527

           Summary: CMake manager uses "Release" as -DCMAKE_BUILD_TYPE
                    when set to "Debug"
           Product: kdevelop
           Version: SVN
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: info@pc-tiede.de


Version:           SVN (using KDE 4.5.0) 
OS:                Linux

On creating a new build directory for a cmake based project and selecting
"Debug" as build type, cmake commandline in build output uses
'-DCMAKE_BUILD_TYPE=Release' and cached cmake variables say build type is set
to "Release". Both should be "Debug".

Reproducible: Always

Steps to Reproduce:
Add a build directory to a cmake-base project.
Select "Debug" as buildtype.
Start "Configure".

Also possible:
Prune an existing build directory with build type set to "Debug".
Start "Configure".

Actual Results:  
CMake commandline reads "<build directory>> /usr/bin/cmake
-DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release </path/to/sources>

Cached cmake variables state CMAKE_BUILD_TYPE is "Release".

Expected Results:  
CMake commandline should read "<build directory>> /usr/bin/cmake
-DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug </path/to/sources>

Cached cmake variables should state CMAKE_BUILD_TYPE is "Debug".

Aside from that, additional cmake commandline options specified in build
directory configuration are completely ignored.

I'm using kdevplatform/kdevelop from git sources, branch master:
kdevplatform commit 5baaecc0956985c8419327763f55f76f6453a31f
kdevelop commit d43df8154007a0fbf3d71da1563a55a45131500e

Unfortunately I can't remember last commit where it worked.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic