MantisBT - CMake
View Issue Details
0003348CMakeCMakepublic2006-06-08 01:572006-08-29 15:20
Thomas Zander 
Brad King 
highfeaturealways
closedfixed 
 
 
0003348: Provide target for making+installing a single library
Cmake in combination with make does should have ways to make development faster by compiling and installing only what is needed.

When I'm programming on KWord any changes in the sourcefile have only an effect on kwordprivate.la but there are a lot of other install targets each with different dependencies.

Currently (and probably even with the proposed new feature of /fast) cmake will compile + link too many items.
My wish is to have a install target like unsermake had of the kind:
make $KDEDIR/lib/libkwordprivate.la

This will ask cmake to check which file in my sources ends up there and then compile/link only those things needed for that file plus do an install of only that library.

Having this would save me minutes between each change/install/check round.
No tags attached.
Issue History

Notes
(0004801)
Brad King   
2006-08-29 15:19   
The changes below add a "make install/local" target which will install using only rules specified in the current directory (and not subdirectories). Doing "make install/local/fast" should not rebuild anything either.

/cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v <--
cmGlobalGenerator.cxx
new revision: 1.150; previous revision: 1.149
/cvsroot/CMake/CMake/Source/cmGlobalGenerator.h,v <-- cmGlobalGenerator.h
new revision: 1.65; previous revision: 1.64
/cvsroot/CMake/CMake/Source/cmGlobalUnixMakefileGenerator3.h,v <--
cmGlobalUnixMakefileGenerator3.h
new revision: 1.36; previous revision: 1.35
/cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v <--
cmLocalGenerator.cxx
new revision: 1.145; previous revision: 1.144
/cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v <--
cmLocalUnixMakefileGenerator3.cxx
new revision: 1.169; previous revision: 1.168
(0004802)
Brad King   
2006-08-29 15:20   
The rest of these ideas pertain to bug#3658, so I'm closing this bug and adding a reference to it from the other bug.