MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005799 | CMake | CMake | public | 2007-09-28 15:06 | 2011-01-28 10:48 |
| Reporter | Daniel Nelson | ||||
| Assigned To | David Cole | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | CMake-2-6 | |||
| Summary | 0005799: If you use ADD_SUBDIRECTORY with EXCLUDE_FROM_ALL then progress percent will not be calculated properly. | ||||
| Description | If you use ADD_SUBDIRECTORY with the EXCLUDE_FROM_ALL argument, every child target also has to be marked EXCLUDE_FROM_ALL or the progress percentage will be calculated incorrectly. Here is an example: . |-- CMakeLists.txt |-- main.cpp `-- optional |-- CMakeLists.txt `-- optional.cpp ./CMakeLists.txt PROJECT(progress) ADD_SUBDIRECTORY(optional blah EXCLUDE_FROM_ALL) ADD_EXECUTABLE(main main.cpp) ./optional/CMakeLists.txt ADD_EXECUTABLE(optional optional.cpp) If you type make, it will only count to 50% before completing. But if you add the EXCLUDE_FROM_ALL argument to the target "optional" then it will count to 100%. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2007-09-28 15:06 | Daniel Nelson | New Issue | |||
| 2007-10-12 09:46 | Bill Hoffman | Status | new => assigned | ||
| 2007-10-12 09:46 | Bill Hoffman | Assigned To | => Bill Hoffman | ||
| 2007-12-18 10:24 | Bill Hoffman | Assigned To | Bill Hoffman => Ken Martin | ||
| 2008-10-15 01:54 | Daniel Nelson | Note Added: 0013882 | |||
| 2010-12-14 11:15 | David Cole | Note Added: 0023954 | |||
| 2010-12-14 11:15 | David Cole | Status | assigned => closed | ||
| 2010-12-14 11:15 | David Cole | Resolution | open => fixed | ||
| 2010-12-14 11:15 | David Cole | Fixed in Version | => CMake-2-6 | ||
| 2010-12-14 11:52 | David Cole | Assigned To | Ken Martin => David Cole | ||
| 2010-12-14 11:52 | David Cole | Status | closed => assigned | ||
| 2011-01-28 10:48 | David Cole | Note Added: 0025126 | |||
| 2011-01-28 10:48 | David Cole | Status | assigned => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||