[cmake-developers] [PATCH] add install_local target

Brad King brad.king at kitware.com
Tue Aug 29 10:06:48 EDT 2006


Alexander Neundorf wrote:
> Thomas complains that on "make install" cmake at first completes "make all" 
> and then starts to install ( http://bugs.kde.org/show_bug.cgi?id=132072 ).
[snip]
> -add a target install_local which doesn't execute the cmake_install.cmake 
> scripts from the subdirs. Then Thomas can do "make somelib; make 
> install_local" and hopefully be happy. This is what the attached patch does.
> 
> What do you think about this ?

I've applied the patch (slightly modified) to create an "install/local"
target.  We've started following the convention of using slashes for
special target names since they don't make sense in user target names.

-Brad

/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



More information about the cmake-developers mailing list