|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011030||CMake||CMake||public||2010-07-22 18:05||2010-12-14 18:50|
|Reporter||Olaf van der Spek|
|Assigned To||David Cole|
|Target Version||CMake 2.8.3||Fixed in Version|
|Summary||0011030: Decorate library names|
|Description||It'd be great if library names could be decorated. That way, all files can be stored in a single lib dir from which the linker can pick the right variant.|
The decoration should specify:
Debug vs Release
Dynamic vs Static
Dynamic vs Static Runtime
x86 vs x64
See for example http://www.boost.org/doc/libs/1_43_0/more/getting_started/windows.html#library-naming [^]
|Tags||No tags attached.|
Brad King (manager)
The OUTPUT_NAME and OUTPUT_NAME_<CONFIG> target properties
provide all the tools needed to do this. Each project will define its own scheme for this; we do not want to offer or enforce one.
Olaf van der Spek (reporter)
As a hypothetical library developer, I've no idea about platform-specific naming conventions. I don't want to have any idea about this either.
What's the reason to require every single lib dev to duplicate this code?
I think a scheme should at least be offered!
David Cole (manager)
This is beyond the scope of what CMake offers.
If you think a scheme should be offered, then offer a scheme in the form of a well-tested patch to the CMake source tree.
There is no concensus about this issue on the CMake mailing list among its current heavy users. Therefore, there is no "right way" to address this.
If a scheme that could be generally agreed upon could be offered, then we could consider adding this feature. Until that happens, none of the core CMake devs are really interested in spending their time on developing this feature.
The basic functionality to allow you to name things according to your chosen scheme is there and works everywhere that CMake works. (See previous notes in this bug.)
Choosing your scheme is up to you.
David Cole (manager)
|Closing bugs that have been resolved for more than 3 months without any further updates.|
|2010-07-22 18:05||Olaf van der Spek||New Issue|
|2010-07-29 12:47||Brad King||Note Added: 0021554|
|2010-07-29 12:48||Brad King||Status||new => closed|
|2010-07-29 12:48||Brad King||Resolution||open => won't fix|
|2010-07-29 13:25||Olaf van der Spek||Note Added: 0021557|
|2010-07-29 13:25||Olaf van der Spek||Status||closed => feedback|
|2010-07-29 13:25||Olaf van der Spek||Resolution||won't fix => reopened|
|2010-08-25 07:43||David Cole||Status||feedback => assigned|
|2010-08-25 07:43||David Cole||Assigned To||=> David Cole|
|2010-08-25 07:46||David Cole||Note Added: 0021945|
|2010-08-25 07:46||David Cole||Status||assigned => resolved|
|2010-08-25 07:46||David Cole||Resolution||reopened => won't fix|
|2010-08-31 18:13||David Cole||Target Version||=> CMake 2.8.3|
|2010-12-14 18:50||David Cole||Note Added: 0024100|
|2010-12-14 18:50||David Cole||Status||resolved => closed|
|Copyright © 2000 - 2018 MantisBT Team|