Rev | Line | |
---|
[1] | 1 | #ifndef __cmt_deps_builder_h__ |
---|
| 2 | #define __cmt_deps_builder_h__ |
---|
| 3 | |
---|
| 4 | #include "cmt.h" |
---|
| 5 | #include "cmt_system.h" |
---|
| 6 | |
---|
| 7 | class DepsBuilder |
---|
| 8 | { |
---|
| 9 | public: |
---|
| 10 | |
---|
| 11 | void clear (); |
---|
| 12 | void add (const cmt_string& path, const cmt_string& substitution); |
---|
| 13 | void add_includes (const Use& use); |
---|
| 14 | CmtSystem::cmt_string_vector& run (const cmt_string& file_name); |
---|
| 15 | |
---|
| 16 | private: |
---|
| 17 | |
---|
| 18 | CmtSystem::cmt_string_vector m_include_paths; |
---|
| 19 | CmtSystem::cmt_string_vector m_substitutions; |
---|
| 20 | |
---|
| 21 | CmtSystem::cmt_string_vector m_deps; |
---|
| 22 | CmtSystem::cmt_string_vector m_all_deps; |
---|
| 23 | |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.