MantisBT - CMake | |||||
View Issue Details | |||||
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? | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|