diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-02-26 22:15:44 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-02-26 22:15:44 (GMT) |
commit | 3b338dacaf0baca14bcffbdaae4a44bc4dbcc7e3 (patch) | |
tree | 48021fb9bae94622d3fd3c775fa987e7ae5a0f3b /Source/cmClassFile.h | |
parent | 7cde8fd0f47143090b81dff813270f6894004af3 (diff) | |
download | CMake-3b338dacaf0baca14bcffbdaae4a44bc4dbcc7e3.zip CMake-3b338dacaf0baca14bcffbdaae4a44bc4dbcc7e3.tar.gz CMake-3b338dacaf0baca14bcffbdaae4a44bc4dbcc7e3.tar.bz2 |
added functionality, fixed bug if no file existed and with header files
Diffstat (limited to 'Source/cmClassFile.h')
-rw-r--r-- | Source/cmClassFile.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmClassFile.h b/Source/cmClassFile.h index 8a9845e..e0e4d50 100644 --- a/Source/cmClassFile.h +++ b/Source/cmClassFile.h @@ -46,6 +46,14 @@ public: void SetName(const char* name, const char* dir); /** + * Set the name of the file, given the directory the file should be in. IN + * this version the extesion is provided in the call. This is useful for + * generated files that do not exist prior to the build. + */ + void SetName(const char* name, const char* dir, const char *ext, + bool headerFileOnly); + + /** * Print the structure to std::cout. */ void Print(); @@ -77,6 +85,12 @@ public: std::string m_ClassName; /** + * The file name associated with stripped off directory and extension. + * (In most cases this is the name of the class.) + */ + std::string m_ClassExtension; + + /** * The dependencies of this class are gathered here. */ std::vector<std::string> m_Depends; |