MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013861 | CMake | CMake | public | 2013-01-20 09:29 | 2016-06-10 14:31 |
| Reporter | criskross | ||||
| Assigned To | Kitware Robot | ||||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Windows | OS | Windows 7 | OS Version | x64 |
| Product Version | CMake 2.8.10.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013861: SET(LIBRARIES debug ${LIBRARY_DBG} optimized ${LIBRARY} ) doesn't work for Visual Studio 2010 | ||||
| Description | Hello, When I try to link libraries for debug and release different for visual studio 2010 the in debug/release project properties both library types are linked against each one. So if I look at properties of debug there are also the release libraries are linked. For release properties it's the same. Release are linked againse debug and release of a library. TARGET_LINK_LIBRARIES(projectname ${LIBRARIES } ) This doesn't work. | ||||
| Steps To Reproduce | Find(somepackage) in Findsomepackage.cmake look for both debug and release libraries and define own variables for both. then: SET(LIBRARIES debug ${LIBRARY_DBG} optimized ${LIBRARY} ) TARGET_LINK_LIBRARIES(projectname ${LIBRARIES } ) All of this for Visual Studio | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-01-20 09:29 | criskross | New Issue | |||
| 2013-01-23 10:38 | Brad King | Note Added: 0032128 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0042204 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||