source: CMT/v1r16p20040901/src/cmt_deps_builder.h @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 828 bytes
Line 
1//-----------------------------------------------------------
2// Copyright Christian Arnault LAL-Orsay CNRS
3// arnault@lal.in2p3.fr
4// See the complete license in cmt_license.txt "http://www.cecill.info".
5//-----------------------------------------------------------
6
7#ifndef __cmt_deps_builder_h__
8#define __cmt_deps_builder_h__
9
10#include "cmt.h"
11#include "cmt_system.h"
12
13class DepsBuilder
14{
15public:
16
17  void clear ();
18  void add (const cmt_string& path, const cmt_string& substitution);
19  void add_includes (const Use& use);
20  CmtSystem::cmt_string_vector& run (const cmt_string& file_name);
21
22private:
23
24  CmtSystem::cmt_string_vector m_include_paths;
25  CmtSystem::cmt_string_vector m_substitutions;
26
27  CmtSystem::cmt_string_vector m_deps;
28  CmtSystem::cmt_string_vector m_all_deps;
29
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.