View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032128) Brad King (manager) 2013-01-23 10:38 |
AFAIK this is known to work and well-tested. Please provide a minimal complete example CMake project that reproduces it. |
(0042204) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |