| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0013196 | CMake | CMake | public | 2012-05-05 22:33 | 2012-10-01 13:22 | ||||
| Reporter | sigma | ||||||||
| Assigned To | Brad King | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | 64bit | OS | Windows | OS Version | 7 | ||||
| Product Version | CMake 2.8.8 | ||||||||
| Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||||||
| Summary | 0013196: Visual Studio missing Header Files if property PUBLIC_HEADER is set | ||||||||
| Description | If I set the PUBLIC_HEADER property to a library target, these files will then not appear in the visual studio (VS2010) project. For example: set(HEADERS src/file1.h src/file2.h src/file3.h ) set(SOURCES src/file1.cpp src/file2.cpp) ADD_LIBRARY(proj SHARED ${HEADERS} ${SOURCES} ) SET_TARGET_PROPERTIES( proj PROPERTIES PUBLIC_HEADER "${HEADERS}" ) Then under the "Header Files" filter in VS the headers are missing. If I switch my cmake to 2.8.7 it works as expected. If I remove the double quotes from the PUBLIC_HEADER value, so it reads: PUBLIC_HEADER ${HEADERS}, then the first file in the header's list goes missing in 2.8.8. Could anyone please fix this? | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0029415) Brad King (manager) 2012-05-07 15:54 |
Fixed: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=470f39cf [^] |
|
(0031122) David Cole (manager) 2012-10-01 13:22 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2012-05-05 22:33 | sigma | New Issue | |
| 2012-05-07 15:54 | Brad King | Note Added: 0029415 | |
| 2012-05-07 15:54 | Brad King | Assigned To | => Brad King |
| 2012-05-07 15:54 | Brad King | Status | new => resolved |
| 2012-05-07 15:54 | Brad King | Resolution | open => fixed |
| 2012-05-07 15:54 | Brad King | Fixed in Version | => CMake 2.8.9 |
| 2012-05-07 15:54 | Brad King | Target Version | => CMake 2.8.9 |
| 2012-10-01 13:22 | David Cole | Note Added: 0031122 | |
| 2012-10-01 13:22 | David Cole | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |