diff options
author | Brad King <brad.king@kitware.com> | 2009-02-06 14:03:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-06 14:03:27 (GMT) |
commit | 67671ac40014b214bf19f608097f57f3e9f53a74 (patch) | |
tree | 4da6a41340f2469d25a441b9f2dcb9405bfcf0cc /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 16fe328dfc65f47e0a4fd1f7f1ac8e2fa3663b51 (diff) | |
download | CMake-67671ac40014b214bf19f608097f57f3e9f53a74.zip CMake-67671ac40014b214bf19f608097f57f3e9f53a74.tar.gz CMake-67671ac40014b214bf19f608097f57f3e9f53a74.tar.bz2 |
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.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 848ae20..9477ebf 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -476,8 +476,8 @@ cmMakefileExecutableTargetGenerator::CreateAppBundle(std::string& targetName, outpath = this->MacContentDirectory; outpath += "MacOS"; cmSystemTools::MakeDirectory(outpath.c_str()); + this->Makefile->AddCMakeOutputFile(outpath.c_str()); outpath += "/"; - this->Makefile->AddCMakeDependFile(outpath.c_str()); // Configure the Info.plist file. Note that it needs the executable name // to be set. @@ -485,5 +485,5 @@ cmMakefileExecutableTargetGenerator::CreateAppBundle(std::string& targetName, this->LocalGenerator->GenerateAppleInfoPList(this->Target, targetName.c_str(), plist.c_str()); - this->Makefile->AddCMakeDependFile(plist.c_str()); + this->Makefile->AddCMakeOutputFile(plist.c_str()); } |