MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015847 | CMake | CMake | public | 2015-11-16 16:28 | 2016-06-10 14:31 |
| Reporter | Erik Sjölund | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | x86_64 | OS | Ubuntu | OS Version | 15.10 |
| Product Version | CMake 3.4 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015847: ADD_LIBRARY without any sources generates an unnecessary warning | ||||
| Description | I think this warning could be removed: "You have called ADD_LIBRARY for library foobar without any source files. This typically indicates a problem with your CMakeLists.txt file" The reason is that I would like to add the target sources at a later time with the target_sources command. For more explanation see my post: https://cmake.org/pipermail/cmake-developers/2015-July/025761.html [^] and the answer from Brad King: https://cmake.org/pipermail/cmake-developers/2015-July/025764.html [^] | ||||
| Steps To Reproduce | See the attached file: bug.txt | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5576/bug.txt | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-11-16 16:28 | Erik Sjölund | New Issue | |||
| 2015-11-16 16:28 | Erik Sjölund | File Added: bug.txt | |||
| 2015-12-03 04:26 | Bartosz | Note Added: 0039944 | |||
| 2015-12-03 08:23 | Brad King | Note Added: 0039947 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042888 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||