MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013869 | CMake | CMake | public | 2013-01-23 04:01 | 2013-06-03 09:05 |
| Reporter | Albert A | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | PC | OS | Windows | OS Version | 7 |
| Product Version | CMake 2.8.10 | ||||
| Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | ||
| Summary | 0013869: Transitive external project dependency won't compile under VS2012 | ||||
| Description | I have an external project defined as: ExternalProject_Add( LibExternal ... ) add_library(libexternal STATIC IMPORTED GLOBAL) set_property(TARGET libexternal PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/libexternal.a) add_dependencies(libexternal LibExternal) Which I link to other project as: target_link_libraries(lib1 libexternal) And then to another: target_link_libraries(lib2 lib1) As expected the *.sln created for lib1 compiles LibExternal. The *.sln created for lib2 has LibExternal in the build tree but it is not checked for build in the Configuration Manager and therefore skipped during build. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4624/cmake_bug.zip | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-01-23 04:01 | Albert A | New Issue | |||
| 2013-01-24 08:59 | Brad King | Note Added: 0032147 | |||
| 2013-01-24 11:22 | Albert A | File Added: cmake_bug.zip | |||
| 2013-01-24 11:23 | Albert A | Note Added: 0032150 | |||
| 2013-01-24 13:00 | Brad King | Note Added: 0032151 | |||
| 2013-01-24 15:02 | Albert A | Note Added: 0032152 | |||
| 2013-01-24 15:21 | Brad King | Note Added: 0032153 | |||
| 2013-01-24 15:21 | Brad King | Assigned To | => Brad King | ||
| 2013-01-24 15:21 | Brad King | Status | new => resolved | ||
| 2013-01-24 15:21 | Brad King | Resolution | open => fixed | ||
| 2013-01-24 15:21 | Brad King | Fixed in Version | => CMake 2.8.11 | ||
| 2013-01-24 15:21 | Brad King | Target Version | => CMake 2.8.11 | ||
| 2013-06-03 09:05 | Robert Maynard | Note Added: 0033191 | |||
| 2013-06-03 09:05 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||