summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-10 15:00:15 (GMT)
committerBrad King <brad.king@kitware.com>2005-05-10 15:00:15 (GMT)
commitdd9e2b904c33787c193bc07d7f811552dfaa72b2 (patch)
tree3e7fda4d24b2e736adb4a8706ab25bc1b0d1f970 /Source/cmDependsC.h
parentb2f5af917b8345cceda21c63a75ad2ee23c35a6b (diff)
downloadCMake-dd9e2b904c33787c193bc07d7f811552dfaa72b2.zip
CMake-dd9e2b904c33787c193bc07d7f811552dfaa72b2.tar.gz
CMake-dd9e2b904c33787c193bc07d7f811552dfaa72b2.tar.bz2
BUG: Re-implemented dependency line parsing to deal with quoted paths and escaped spaces.
Diffstat (limited to 'Source/cmDependsC.h')
-rw-r--r--Source/cmDependsC.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h
index 8cc8842..0a0bc36 100644
--- a/Source/cmDependsC.h
+++ b/Source/cmDependsC.h
@@ -50,6 +50,11 @@ protected:
// Method to scan a single file.
void Scan(std::istream& is, const char* directory);
+ // Method to parse a single dependency line.
+ bool ParseDependency(const char* line, std::string& depender,
+ std::string& dependee);
+ const char* ParseFileName(const char* in, std::string& name);
+
// The source file from which to start scanning.
std::string m_SourceFile;