| 4061 | } |
| 4062 | |
| 4063 | std::string cmGeneratorTarget::GetObjectDirectory( |
| 4064 | std::string const& config) const |
| 4065 | { |
| 4066 | std::string obj_dir = |
| 4067 | this->GlobalGenerator->ExpandCFGIntDir(this->ObjectDirectory, config); |
| 4068 | #if defined(__APPLE__) |
| 4069 | // Replace Xcode's placeholder for the object file directory since |
| 4070 | // installation and export scripts need to know the real directory. |
| 4071 | // Xcode has build-time settings (e.g. for sanitizers) that affect this, |
| 4072 | // but we use the default here. Users that want to enable sanitizers |
| 4073 | // will do so at the cost of object library installation and export. |
| 4074 | cmSystemTools::ReplaceString(obj_dir, "$(OBJECT_FILE_DIR_normal:base)", |
| 4075 | "Objects-normal"); |
| 4076 | #endif |
| 4077 | return obj_dir; |
| 4078 | } |
| 4079 | |
| 4080 | void cmGeneratorTarget::GetTargetObjectNames( |
| 4081 | std::string const& config, std::vector<std::string>& objects) const |
no test coverage detected