Re: [CMake] cmLocalGenerator::GenerateInstallRules() needlessly slow?/missing optimization?

2011-09-13 Thread Andreas Mohr
On Tue, Sep 13, 2011 at 03:33:01PM +0200, Alexander Neundorf wrote: > On Wednesday, September 07, 2011 11:12:55 AM Andreas Mohr wrote: > > Depending on actual implementation of CMake (whether it has some caching > > logic or not), this might be woefully inefficient, > > causing a possibly _filesyst

Re: [CMake] cmLocalGenerator::GenerateInstallRules() needlessly slow?/missing optimization?

2011-09-13 Thread Alexander Neundorf
On Wednesday, September 07, 2011 11:12:55 AM Andreas Mohr wrote: > Hi, > > just saw that the main cmake_install.cmake contains (at the end): > > FILE(WRITE > "[${CMAKE_BINARY_DIR}]/${CMAKE_INSTALL_MANIFEST}" > "") > FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES}) > FILE(APPEND > "[${CMAKE_BINARY_

[CMake] cmLocalGenerator::GenerateInstallRules() needlessly slow?/missing optimization?

2011-09-07 Thread Andreas Mohr
Hi, just saw that the main cmake_install.cmake contains (at the end): FILE(WRITE "[${CMAKE_BINARY_DIR}]/${CMAKE_INSTALL_MANIFEST}" "") FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES}) FILE(APPEND "[${CMAKE_BINARY_DIR}]/${CMAKE_INSTALL_MANIFEST}" "${file}\n") ENDFOREACH(file) as generated by CMake