Notes |
|
(0013995)
|
Daniel Santos
|
2008-10-31 06:43
|
|
bump, cmake really needs this |
|
|
(0014015)
|
Rolf Eike Beer
|
2008-11-03 06:45
|
|
I would like to see this, too. But when this goes in we need a way to specify to which version another target links. |
|
|
(0014283)
|
Philip Lowman
|
2008-12-04 03:07
|
|
For those interested this can be worked around with some CMake wrapping macros.
We use a global variable that includes either STATIC, SHARED, or both in a list, and then wrap ADD_EXECUTABLE and ADD_LIBRARY to create targets with "-shared" and "-static" suffixes. Then we wrap TARGET_LINK_LIBRARIES for our own libraries to do the same. The net effect is with a few macros you can create both shared and static simultaneously.
See:
http://www.mail-archive.com/cmake@cmake.org/msg07864.html [^] |
|
|
(0038504)
|
Stephen Kelly
|
2015-04-13 13:55
|
|
CMake might also need to either provide a way to generate multiple IMPORTED targets on export(), or generate IMPORTED targets with multiple LOCATION_FOO properties. |
|
|
(0041338)
|
Kitware Robot
|
2016-06-10 14:27
|
|
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. |
|