diff options
author | Brad King <brad.king@kitware.com> | 2022-04-14 13:30:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-04-14 13:30:29 (GMT) |
commit | f011557f0eff1fe08b54cfb30a1b74beefe37456 (patch) | |
tree | d9638f183591960b14946b2b00da999728581847 /Source/cmTarget.cxx | |
parent | d96e139f76a27c74d057cba8156cc495cf2b4151 (diff) | |
parent | 40dd46a96a5751f4a109ae555ce3b835b4c9ca68 (diff) | |
download | CMake-f011557f0eff1fe08b54cfb30a1b74beefe37456.zip CMake-f011557f0eff1fe08b54cfb30a1b74beefe37456.tar.gz CMake-f011557f0eff1fe08b54cfb30a1b74beefe37456.tar.bz2 |
Merge topic 'xcode-universal'
40dd46a96a Xcode: Add tests for OBJECT library per target `OSX_ARCHITECTURES`
da4ccb502b Xcode: Check for multiple `OSX_ARCHITECTURES` on target
41ba35a42b cmTarget: Add `HasKnownObjectFileLocation()` shorthand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7154
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 5c43bc8..a01321d 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -691,6 +691,11 @@ bool cmTarget::IsAndroidGuiExecutable() const this->impl->IsAndroid && this->GetPropertyAsBool("ANDROID_GUI")); } +bool cmTarget::HasKnownObjectFileLocation(std::string* reason) const +{ + return this->GetGlobalGenerator()->HasKnownObjectFileLocation(*this, reason); +} + std::vector<cmCustomCommand> const& cmTarget::GetPreBuildCommands() const { return this->impl->PreBuildCommands; |