MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010217 | CMake | CMake | public | 2010-02-01 11:15 | 2016-06-10 14:31 |
| Reporter | Shlomi Fish | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0010217: make exits with "make[3]: *** No rule to make target `USAGE_pdf', needed by `CMakeFiles/pdfs'. Stop." when looping targets | ||||
| Description | --------- shlomi[fcs]:$fcs/branches/cmake-make-pdfs-breakage-investigation/source/t/CMake-2.6-2.8-and-CVS-breakage-PDF-loop$ cmake . -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Configuring done -- Generating done -- Build files have been written to: /home/shlomi/progs/freecell/branches/cmake-make-pdfs-breakage-investigation/source/t/CMake-2.6-2.8-and-CVS-breakage-PDF-loop shlomi[fcs]:$fcs/branches/cmake-make-pdfs-breakage-investigation/source/t/CMake-2.6-2.8-and-CVS-breakage-PDF-loop$ make pdfs Scanning dependencies of target AUTHORS_pdf [ 0%] docmake to PDF [ 50%] Built target AUTHORS_pdf Scanning dependencies of target USAGE_pdf [ 50%] docmake to PDF [100%] Built target USAGE_pdf Scanning dependencies of target pdfs make[3]: *** No rule to make target `USAGE_pdf', needed by `CMakeFiles/pdfs'. Stop. make[2]: *** [CMakeFiles/pdfs.dir/all] Error 2 make[1]: *** [CMakeFiles/pdfs.dir/rule] Error 2 make: *** [pdfs] Error 2 shlomi[fcs]:$fcs/branches/cmake-make-pdfs-breakage-investigation/source/t/CMake-2.6-2.8-and-CVS-breakage-PDF-loop$ ------ This distribution that generates this bug (after running "cmake ." and "make pdfs") has been upload to this report. | ||||
| Steps To Reproduce | |||||
| Additional Information | My CMakeLists.txt is very simple and looks like: ------------------------- CMAKE_MINIMUM_REQUIRED(VERSION 2.6) SET (_docfiles "AUTHORS.xml" "USAGE.xml" ) SET (_pdf_targets) FOREACH(_file ${_docfiles}) GET_FILENAME_COMPONENT(_file_wo_ext ${_file} NAME_WE) SET (_pdf "${_file_wo_ext}.pdf") SET (_target "${_file_wo_ext}_pdf") ADD_CUSTOM_COMMAND( OUTPUT "${_pdf}" COMMAND cp -f ${_file} ${_pdf} DEPENDS ${_file} COMMENT "docmake to PDF" ) ADD_CUSTOM_TARGET("${_target}" echo -n DEPENDS "${_pdf}" ) LIST(APPEND _pdf_targets "${_target}") ENDFOREACH(_file) ADD_CUSTOM_TARGET("pdfs" echo -n DEPENDS ${_pdf_targets} ) ------------------------- I add targets in a loop and then the master "pdfs" target fails. You can also find it at svn here: https://svn.berlios.de/svnroot/repos/fc-solve/branches/cmake-make-pdfs-breakage-investigation [^] | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/2832/CMake-2.6-2.8-and-CVS-breakage-PDF-loop.tar.gz | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-02-01 11:15 | Shlomi Fish | New Issue | |||
| 2010-02-01 11:15 | Shlomi Fish | File Added: CMake-2.6-2.8-and-CVS-breakage-PDF-loop.tar.gz | |||
| 2010-02-01 11:29 | Bill Hoffman | Note Added: 0019399 | |||
| 2010-02-01 11:29 | Bill Hoffman | Status | new => assigned | ||
| 2010-02-01 11:29 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
| 2010-02-01 11:32 | Shlomi Fish | Note Added: 0019402 | |||
| 2010-02-01 11:51 | Shlomi Fish | Note Added: 0019405 | |||
| 2010-02-01 12:38 | Bill Hoffman | Note Added: 0019408 | |||
| 2010-02-01 13:09 | Shlomi Fish | Note Added: 0019410 | |||
| 2010-02-01 13:58 | Bill Hoffman | Note Added: 0019411 | |||
| 2010-02-02 05:04 | Shlomi Fish | Note Added: 0019426 | |||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041650 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||