| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0010360 | CMake | CMake | public | 2010-03-03 11:18 | 2016-06-10 14:31 | ||||
| Reporter | David Weese | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-6 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0010360: add_custom_target doesn't ignore SOURCES for Makefile generators | ||||||||
| Description | Hi there, add_custom_target(mytarget SOURCES myfile.h) perfectly creates a target that consists of 1 source file under Visual Studio, XCode, Eclipse, ... but for Unix Makefiles or MinGW Makefiles it doesn't recognize/ignore SOURCES and the following as a reserved word but interprets SOURCES and myfile.h as files it depends on. This breaks the build process for Makefiles, because they won't find the file SOURCES. We currently circumvent this bug with Generator dependent behaviour but I think cmake would be more platform independent if it would ignore SOURCES and the files behind. Cheers, Dave | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0019694) Bill Hoffman (manager) 2010-03-03 11:54 |
Can you attach a full example of this problem in a tar file to this bug? add_custom_command SOURCES is evaluated before the generator is even picked...?? |
|
(0041663) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2010-03-03 11:18 | David Weese | New Issue | |
| 2010-03-03 11:54 | Bill Hoffman | Note Added: 0019694 | |
| 2010-03-03 11:54 | Bill Hoffman | Status | new => assigned |
| 2010-03-03 11:54 | Bill Hoffman | Assigned To | => Bill Hoffman |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041663 | |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |