diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-06 20:04:49 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-06 20:04:49 (GMT) |
commit | 5a71f83f7a23a683b6da7cca2735736db6318353 (patch) | |
tree | 949f5578d23c0c6eff93bc430fd3b34bae38250b /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 9e9653713cf10727c05049da50dc153be237be30 (diff) | |
download | CMake-5a71f83f7a23a683b6da7cca2735736db6318353.zip CMake-5a71f83f7a23a683b6da7cca2735736db6318353.tar.gz CMake-5a71f83f7a23a683b6da7cca2735736db6318353.tar.bz2 |
BUG: Several fixes to handle bundle content on Mac OSX
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index f00105b..8f82c25 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -76,6 +76,11 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) obj != this->Objects.end(); ++obj) { objTarget = relPath; + // Handle extra content on Mac bundles + if ( this->ExtraContent.find(*obj) != this->ExtraContent.end() ) + { + objTarget = ""; + } objTarget += *obj; depends.push_back(objTarget); } |