diff options
author | Brad King <brad.king@kitware.com> | 2010-09-13 19:56:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-09-13 20:17:20 (GMT) |
commit | a6b5ead62fb4e69c053d752570f4c8af24e41857 (patch) | |
tree | 293eb05765da0e3feaafe4611bb1741f9fb85fed /Source/cmSourceFile.h | |
parent | f3bc219adbbf10f3a75af1ac1db1f47b90102e19 (diff) | |
download | CMake-a6b5ead62fb4e69c053d752570f4c8af24e41857.zip CMake-a6b5ead62fb4e69c053d752570f4c8af24e41857.tar.gz CMake-a6b5ead62fb4e69c053d752570f4c8af24e41857.tar.bz2 |
Report missing source files with context of target
Previously we reported only the CMakeLists.txt file in the directory
that adds the target.
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r-- | Source/cmSourceFile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h index 937e4b7..2dc8488 100644 --- a/Source/cmSourceFile.h +++ b/Source/cmSourceFile.h @@ -60,7 +60,7 @@ public: * horrible interface, but is necessary for backwards * compatibility). */ - std::string const& GetFullPath(); + std::string const& GetFullPath(std::string* error = 0); std::string const& GetFullPath() const; /** @@ -108,7 +108,7 @@ private: std::string FullPath; bool FindFullPathFailed; - bool FindFullPath(); + bool FindFullPath(std::string* error); bool TryFullPath(const char* tryPath, const char* ext); void CheckExtension(); void CheckLanguage(std::string const& ext); |