summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-28 18:16:15 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-28 18:16:15 (GMT)
commited5f95cf230c5ccd4376ff6dcc8e57330611f256 (patch)
tree77a16a0730fba3cf83ade11a8632e6272ada3e42 /Source/cmInstallTargetGenerator.cxx
parent0d540b31e01b1c478636e35dfc8bb58405e77629 (diff)
downloadCMake-ed5f95cf230c5ccd4376ff6dcc8e57330611f256.zip
CMake-ed5f95cf230c5ccd4376ff6dcc8e57330611f256.tar.gz
CMake-ed5f95cf230c5ccd4376ff6dcc8e57330611f256.tar.bz2
ENH: Add proper support for installing bundles
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx20
1 files changed, 2 insertions, 18 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index be56e91..90b14a4 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -123,24 +123,8 @@ void cmInstallTargetGenerator::GenerateScript(std::ostream& os)
// Info.plist file.
this->PrepareScriptReference(os, this->Target, "INSTALL",
false, false);
- std::string plist = fromFile;
- plist += ".app/Contents/Info.plist";
- fromFile += ".app/Contents/MacOS/";
- fromFile += this->GetScriptReference(this->Target, "INSTALL",
- false);
-
- // Compute the destination locations of the bundle Info.plist file.
- destination += "/";
- destination += this->GetScriptReference(this->Target, "INSTALL",
- false);
- destination += ".app/Contents";
-
- // Install the Info.plist file.
- this->AddInstallRule(os, destination.c_str(), cmTarget::INSTALL_FILES,
- plist.c_str());
-
- // Compute the destination locations of the bundle executable file.
- destination += "/MacOS";
+ fromFile += ".app";
+ type = cmTarget::INSTALL_DIRECTORY;
}
}
break;