| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0011006 | CMake | CMake | public | 2010-07-17 10:57 | 2016-06-10 14:31 | ||||
| Reporter | Jens Weggemann | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | CMake-2-8 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0011006: Visual Studio 10 generator ignores SOURCES of a custom target | ||||||||
| Description | Defining a custom target like this: ADD_CUSTOM_TARGET( foo SOURCES a.cpp b.h ) does not add the 2 source files to the generated Visual Studio 10 project. | ||||||||
| Additional Information | The problem seems to be the following lines in cmVisualStudio10TargetGenerator.cxx: void cmVisualStudio10TargetGenerator::WriteCLSources() { if(this->Target->GetType() > cmTarget::MODULE_LIBRARY) { return; } This seems wrong as utility targets may have sources. Replacing cmTarget::MODULE_LIBRARY with cmTarget::UTILITY fixes this for me. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0021417) Jens Weggemann (reporter) 2010-07-17 10:59 |
Bug 0010654 reads like it may have the same cause. |
|
(0041730) Kitware Robot (administrator) 2016-06-10 14:28 |
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-07-17 10:57 | Jens Weggemann | New Issue | |
| 2010-07-17 10:59 | Jens Weggemann | Note Added: 0021417 | |
| 2010-12-15 10:42 | David Cole | Relationship added | related to 0010654 |
| 2010-12-15 10:44 | David Cole | Assigned To | => Bill Hoffman |
| 2010-12-15 10:44 | David Cole | Status | new => assigned |
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041730 | |
| 2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |