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

List:       kdevelop-bugs
Subject:    [Bug 292229] New: Renaming a file in the project erroneously removes a closing parenthesis in the ad
From:       David <daviddoria () gmail ! com>
Date:       2012-01-22 21:39:31
Message-ID: bug-292229-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Renaming a file in the project erroneously removes a
                    closing parenthesis in the add_executable line
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: daviddoria@gmail.com


Version:           git master (using Devel) 
OS:                Linux

When you rename a project file, KDevelop (nicely!) asks you if you want to
change it in the CMakeLists.txt file. For example, I had a file test.cpp that
was used like this:

add_executable(Test Test.cpp)

If I rename that file to Test2.cpp, the automatic change to the CMakeLists.txt
is

add_executable(Test Test2.cpp

(note the missing closing parenthesis.)

Reproducible: Didn't try

Steps to Reproduce:
Create a project with a file test.cpp that is used like this:

add_executable(Test Test.cpp)

Rename that file to Test2.cpp

Actual Results:  
, the automatic change to the CMakeLists.txt is

add_executable(Test Test2.cpp

(note the missing closing parenthesis.)

Expected Results:  
The changed CMakeLists.txt line should be

add_executable(Test Test2.cpp)

-- 
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