MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012441 | CMake | CMake | public | 2011-09-01 23:35 | 2012-07-09 06:52 |
Reporter | vastevaste | ||||
Assigned To | David Cole | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | ||
Summary | 0012441: No progress reporting for add_custom_command | ||||
Description | Progress reporting doesn't seem to work for individual rules added by add_custom_commands. Progress isn't updated until the add_custom_target-target is built. Is this intentional? I get this: $ make [ 0%] Generating test1.txt [ 0%] Generating test2.txt [ 0%] Generating test3.txt [ 0%] Generating test4.txt [ 0%] Generating test5.txt [ 0%] Generating test6.txt [100%] Built target test But I expected this: $ echo include CMakeFiles/test.dir/progress.make >> CMakeFiles/test.dir/build.make $ make clean && make [ 16%] Generating test1.txt [ 33%] Generating test2.txt [ 50%] Generating test3.txt [ 66%] Generating test4.txt [ 83%] Generating test5.txt [100%] Generating test6.txt [100%] Built target test | ||||
Steps To Reproduce | |||||
Additional Information | The generated build file looks like this: test1.txt: $(CMAKE_COMMAND) -E cmake_progress_report /home/vaste/src/cmaketest/build/CMakeFiles $(CMAKE_PROGRESS_1) @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold "Generating test1.txt" touch test1.txt But VERBOSE=1 shows this (without $(CMAKE_PROGRESS_1)): /home/vaste/src/cmake-2.8.5/build/bin/cmake -E cmake_progress_report /home/vaste/src/cmaketest/build/CMakeFiles [ 0%] Generating test1.txt touch test1.txt If I manually include progress.make in build.make it seems to work. Like this: $ echo include CMakeFiles/test.dir/progress.make >> CMakeFiles/test.dir/build.make $ make clean && make | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | CMakeLists.txt (423) 2011-09-01 23:35 https://public.kitware.com/Bug/file/4042/CMakeLists.txt fix_custom_target_progress.patch (1,682) 2011-09-13 05:51 https://public.kitware.com/Bug/file/4051/fix_custom_target_progress.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-09-01 23:35 | vastevaste | New Issue | |||
2011-09-01 23:35 | vastevaste | File Added: CMakeLists.txt | |||
2011-09-01 23:38 | vastevaste | Note Added: 0027318 | |||
2011-09-01 23:38 | vastevaste | Note Added: 0027319 | |||
2011-09-01 23:39 | vastevaste | Note Edited: 0027318 | bug_revision_view_page.php?bugnote_id=27318#r412 | ||
2011-09-01 23:39 | vastevaste | Note Deleted: 0027319 | |||
2011-09-12 23:13 | vastevaste | Note Added: 0027411 | |||
2011-09-13 05:51 | vastevaste | File Added: fix_custom_target_progress.patch | |||
2011-09-13 05:53 | vastevaste | Note Added: 0027413 | |||
2011-10-28 12:25 | David Cole | Target Version | => CMake 2.8.7 | ||
2011-12-13 19:38 | David Cole | Assigned To | => David Cole | ||
2011-12-13 19:38 | David Cole | Status | new => assigned | ||
2011-12-13 20:34 | David Cole | Note Added: 0027980 | |||
2011-12-13 20:34 | David Cole | Status | assigned => resolved | ||
2011-12-13 20:34 | David Cole | Resolution | open => fixed | ||
2011-12-16 17:16 | David Cole | Fixed in Version | => CMake 2.8.7 | ||
2012-07-09 06:52 | David Cole | Note Added: 0029973 | |||
2012-07-09 06:52 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|