[Cmake-commits] [cmake-commits] king committed cmMakefileExecutableTargetGenerator.cxx 1.51 1.52
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Feb 6 09:03:29 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv2270/Source
Modified Files:
cmMakefileExecutableTargetGenerator.cxx
Log Message:
BUG: Do not re-generate after a AppBundle build
A previous change accidentally added the MacOS content directory and
Info.plist files created for MACOSX_BUNDLE executables to the list of
CMake input files. This causes CMake to re-generate the project too
often. These items should be added to the list of CMake output files.
Index: cmMakefileExecutableTargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefileExecutableTargetGenerator.cxx,v
retrieving revision 1.51
retrieving revision 1.52
diff -C 2 -d -r1.51 -r1.52
*** cmMakefileExecutableTargetGenerator.cxx 15 Oct 2008 14:21:14 -0000 1.51
--- cmMakefileExecutableTargetGenerator.cxx 6 Feb 2009 14:03:27 -0000 1.52
***************
*** 477,482 ****
outpath += "MacOS";
cmSystemTools::MakeDirectory(outpath.c_str());
outpath += "/";
- this->Makefile->AddCMakeDependFile(outpath.c_str());
// Configure the Info.plist file. Note that it needs the executable name
--- 477,482 ----
outpath += "MacOS";
cmSystemTools::MakeDirectory(outpath.c_str());
+ this->Makefile->AddCMakeOutputFile(outpath.c_str());
outpath += "/";
// Configure the Info.plist file. Note that it needs the executable name
***************
*** 486,489 ****
targetName.c_str(),
plist.c_str());
! this->Makefile->AddCMakeDependFile(plist.c_str());
}
--- 486,489 ----
targetName.c_str(),
plist.c_str());
! this->Makefile->AddCMakeOutputFile(plist.c_str());
}
More information about the Cmake-commits
mailing list