diff options
author | Brad King <brad.king@kitware.com> | 2015-10-12 14:26:15 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-10-12 14:26:15 (GMT) |
commit | 762108f3ec60ca717cdba369dffc84459a7e3282 (patch) | |
tree | c5c294b462c953d9087bb9dc85ad89a2889af19f /Source/cmLocalGenerator.h | |
parent | f3fa7c6bc364a523ba7a437402603fd84c6c9e4b (diff) | |
parent | 223d0efe55ff66f6ceb25ecdfbd1d915c76af548 (diff) | |
download | CMake-762108f3ec60ca717cdba369dffc84459a7e3282.zip CMake-762108f3ec60ca717cdba369dffc84459a7e3282.tar.gz CMake-762108f3ec60ca717cdba369dffc84459a7e3282.tar.bz2 |
Merge topic 'add-cmLocalGenerator-API'
223d0efe Remove some needless GetMakefile() calls.
a367416c cmLocalGenerator: Add current source directory accessor.
bbef3c2d cmLocalGenerator: Add current binary directory accessor.
12cb3bdc cmLocalGenerator: Add Home directory accessors.
72efa15d Eclipse: Port API to cmLocalGenerator.
f2a641d6 Kate: Remove unused variables.
10cf42f5 Kate: Port API to cmLocalGenerator.
e46ef270 export: Port internal method to cmGeneratorTarget.
53d3a1c9 cmMakefile: Remove unused GetProjectName calls.
4ab2750c cmLocalGenerator: Add GetProjectName method.
c8187f41 cmCPluginAPI: Inline code to get project name.
8c6e6dd3 cmMakefile: Inline initialization of project name.
27916f2c cmLocalGenerator: Add cmake instance accessor.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index e8b501f..758709a 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -182,6 +182,8 @@ public: const std::string& config, const std::string& lang); + std::string GetProjectName() const; + /** Compute the language used to compile the given source file. */ std::string GetSourceFileLanguage(const cmSourceFile& source); @@ -251,6 +253,14 @@ public: */ bool NeedBackwardsCompatibility_2_4(); + cmake* GetCMakeInstance() const; + + const char* GetSourceDirectory() const; + const char* GetBinaryDirectory() const; + + const char* GetCurrentBinaryDirectory() const; + const char* GetCurrentSourceDirectory() const; + /** * Generate a Mac OS X application bundle Info.plist file. */ |