diff options
author | Brad King <brad.king@kitware.com> | 2009-10-21 17:00:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-21 17:00:49 (GMT) |
commit | 2dc39b8c329425cb54e5e111e2b00d79caa1db36 (patch) | |
tree | 516539dab9c55976dbf95cdc6896abacaff4ae7a /Source/cmTarget.h | |
parent | 2f94a2c919ddb39f33c47b4baa7bd37e2ae4cacd (diff) | |
download | CMake-2dc39b8c329425cb54e5e111e2b00d79caa1db36.zip CMake-2dc39b8c329425cb54e5e111e2b00d79caa1db36.tar.gz CMake-2dc39b8c329425cb54e5e111e2b00d79caa1db36.tar.bz2 |
Define per-target OSX_ARCHITECTURES property
The CMAKE_OSX_ARCHITECTURES variable works only as a global setting.
This commit defines target properties
OSX_ARCHITECTURES
OSX_ARCHITECTURES_<CONFIG>
to specify OS X architectures on a per-target and per-configuration
basis. See issue #8725.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 66e3f3df..f2b7d61 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -410,6 +410,9 @@ public: // until we have per-target object file properties. void GetLanguages(std::set<cmStdString>& languages) const; + /** Get the list of OS X target architectures to be built. */ + void GetAppleArchs(const char* config, std::vector<std::string>& archVec); + /** Return whether this target is an executable with symbol exports enabled. */ bool IsExecutableWithExports(); |