View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004419CMakeCMakepublic2007-02-06 17:272008-02-04 17:04
ReporterDavid Faure 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004419: Need to be able to install foo.so.4 without installing foo.so
DescriptionFor KDE, I would need to be able to install a shared library in a special way: foo.so.4 should be installed, but no foo.so symlink should be created.

This would be very useful for what we call "kdeinit modules": we dlopen them, and we let one program link to them, but no other program can link to them so we don't want the .so installed, since it conflicts
with other kde versions.

On Windows we can just append 4 to the name like foo4.dll I guess.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0010380)
Brad King (manager)
2008-02-04 17:04

I've implemented a feature in CMake CVS to address this problem. It will be included in the 2.6 release.

The INSTALL command now has NAMELINK_ONLY and NAMELINK_SKIP options to decide whether to install just the libfoo.so symlink, the libfoo.so.4 file, or both.

/cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v <-- cmInstallCommand.cxx
new revision: 1.43; previous revision: 1.42
/cvsroot/CMake/CMake/Source/cmInstallCommand.h,v <-- cmInstallCommand.h
new revision: 1.29; previous revision: 1.28
/cvsroot/CMake/CMake/Source/cmInstallCommandArguments.cxx,v <-- cmInstallCommandArguments.cxx
new revision: 1.4; previous revision: 1.3
/cvsroot/CMake/CMake/Source/cmInstallCommandArguments.h,v <-- cmInstallCommandArguments.h
new revision: 1.5; previous revision: 1.4
/cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.cxx,v <-- cmInstallTargetGenerator.cxx
new revision: 1.57; previous revision: 1.56
/cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.h,v <-- cmInstallTargetGenerator.h
new revision: 1.23; previous revision: 1.22

 Issue History
Date Modified Username Field Change
2008-02-04 17:04 Brad King Status assigned => closed
2008-02-04 17:04 Brad King Note Added: 0010380
2008-02-04 17:04 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team