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

            Bug ID: 460450
           Summary: KDevelop ignores modifications to CMakeLists.txt
                    performed while KDevelop's CMake configuring is in
                    progress
    Classification: Applications
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: igor...@gmail.com
  Target Milestone: ---

SUMMARY
Probably the recent timestamp optimization
https://commits.kde.org/kdevelop/5b1c175bad00d5f087caf49dabbfb565d9da857d
didn't take this possibility into account.

STEPS TO REPRODUCE
Note: these steps rely on Bug 460245 being present for easy modification
detection, but the bug is general.
1. Open the kdevelop project in KDevelop and build it.
2. Comment out the `ki18n_install(po)` line in the top-level CMakeLists.txt and
save the file.
3. While CMake configuring is in progress (see the output in the Build tool
view), uncomment the line again.
4. Build the kdevelop project again.

OBSERVED RESULT
The build process is instant and the Build tool view contains the "ninja: no
work to do." line.

EXPECTED RESULT
The build process lasts several seconds and the Build tool view contains the
"[2/2] Generating ts..." and "[2/2] Generating mo..." lines.

SOFTWARE/OS VERSIONS
Manjaro GNU/Linux, Xfce, X11
KDE Frameworks Version: 5.98
Qt Version: 5.15.6+kde

ADDITIONAL INFORMATION
The steps to reproduce 2-3 are contrived. The actual steps that lead to my
discovery of this bug are:
2. git stash the commented-out-`ki18n_install(po)` line diff.
2.5. git rebase --continue
3. git stash pop

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to