summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2012-07-16 17:42:56 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-17 12:03:11 (GMT)
commitf36c7b0bbe79592c7540740fe9cef747346ae2a4 (patch)
tree33b02165f26ba3ed9111f1018f6e7b29a4918e14 /Source/cmTarget.h
parent5d885db416a4cec236ba6422868dc3db3d766bc4 (diff)
downloadCMake-f36c7b0bbe79592c7540740fe9cef747346ae2a4.zip
CMake-f36c7b0bbe79592c7540740fe9cef747346ae2a4.tar.gz
CMake-f36c7b0bbe79592c7540740fe9cef747346ae2a4.tar.bz2
Re-factor Mac OS X content directory computation.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index d70cacd..aa14049 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -465,6 +465,19 @@ public:
/** Get the include directories for this target. */
std::vector<std::string> GetIncludeDirectories();
+ /** Append to @a base the mac content directory and return it. */
+ std::string BuildMacContentDirectory(const std::string& base,
+ const char* config = 0,
+ bool includeMacOS = true);
+
+ /** @return the mac content directory for this target. */
+ std::string GetMacContentDirectory(const char* config = 0,
+ bool implib = false,
+ bool includeMacOS = true);
+
+ /** @return whether this target have a well defined output file name. */
+ bool HaveWellDefinedOutputFiles();
+
private:
/**
* A list of direct dependencies. Use in conjunction with DependencyMap.