diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-01 11:50:28 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-02 17:39:22 (GMT) |
commit | cd8a930d61f0aa6c139b1f81302c9258b4102012 (patch) | |
tree | 2bff1e4aef7736ee7655cf6b0053c50d541090ef /Source/cmSourceFileLocation.h | |
parent | 6d407ae439f1db086dd7a3675c8efce93a19fed3 (diff) | |
download | CMake-cd8a930d61f0aa6c139b1f81302c9258b4102012.zip CMake-cd8a930d61f0aa6c139b1f81302c9258b4102012.tar.gz CMake-cd8a930d61f0aa6c139b1f81302c9258b4102012.tar.bz2 |
cmSourceFile: Refactor FindFullPath method
Refactors the cmSourceFile::FindFullPath method to
use lambdas.
Diffstat (limited to 'Source/cmSourceFileLocation.h')
-rw-r--r-- | Source/cmSourceFileLocation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h index cb35703..87040b8 100644 --- a/Source/cmSourceFileLocation.h +++ b/Source/cmSourceFileLocation.h @@ -80,6 +80,11 @@ public: const std::string& GetName() const { return this->Name; } /** + * Get the full file path composed of GetDirectory() and GetName(). + */ + std::string GetFullPath() const; + + /** * Get the cmMakefile instance for which the source file was created. */ cmMakefile const* GetMakefile() const { return this->Makefile; } |