diff options
author | David Cole <david.cole@kitware.com> | 2011-07-18 19:25:30 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-07-18 20:37:06 (GMT) |
commit | 0c030ef72c30d9c8634d0d815b15d9f238b7b267 (patch) | |
tree | 71cfc05669982beeaff769b42e721a5ff821c7ff /Source/cmTarget.h | |
parent | fefaaa09d92b5a2a58f44f433c096db5ec6668ed (diff) | |
download | CMake-0c030ef72c30d9c8634d0d815b15d9f238b7b267.zip CMake-0c030ef72c30d9c8634d0d815b15d9f238b7b267.tar.gz CMake-0c030ef72c30d9c8634d0d815b15d9f238b7b267.tar.bz2 |
Add use of EFFECTIVE_PLATFORM_NAME to generated Xcode projects.
Facilitates building iOS projects, enabling switching back and forth
between simulator and device builds at development time.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 3b1f016..28652e2 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -446,6 +446,10 @@ public: /** Get a build-tree directory in which to place target support files. */ std::string GetSupportDirectory() const; + /** Return whether this target uses the default value for its output + directory. */ + bool UsesDefaultOutputDir(const char* config, bool implib); + private: /** * A list of direct dependencies. Use in conjunction with DependencyMap. @@ -558,7 +562,7 @@ private: // Cache target output paths for each configuration. struct OutputInfo; OutputInfo const* GetOutputInfo(const char* config); - void ComputeOutputDir(const char* config, bool implib, std::string& out); + bool ComputeOutputDir(const char* config, bool implib, std::string& out); // Cache import information from properties for each configuration. struct ImportInfo; |