View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001846CMakeCMakepublic2005-05-13 05:332005-06-21 11:20
ReporterAlex Neundorf 
Assigned ToKen Martin 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001846: installing targets under a different name
Descriptioncmake has the limitation that it can only understand one target with the same name in one source tree. This is a problem e.g. in kdevelop, where there is a libkdevelop.so and the binary kdevelop. In cmake both targets will have the name kdevelop which will break compilation. If there would be something like

SET_TARGET_PROPERTIES(kdevelop_executable PROPERTIES INSTALL_AS kdevelop)

the target could get a different name while building ("kdevelop_executable") but when installing it could get the real and expected name.

I discussed this shortly with Andy Cedilnik an the liked the idea:

http://public.kitware.com/pipermail/cmake/2005-May/006439.html [^]

Alex
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0002533)
Ken Martin (developer)
2005-06-21 11:20

SET_TARGET_PROPERTIES(kdevelop_executable PROPERTIES OUTPUT_NAME kdevelop)
should do the trick. It will certainly build but there may be an issue with the install target. If there is let me know and reopen this bug.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team