MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| 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. | |||||||||
| Steps To Reproduce | ||||||||||
| 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. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| 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 | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||