cmt_deps_builder.h Source File

Main Page Class Hierarchy Compound List File List Compound Members File Members

# cmt_deps_builder.h

Go to the documentation of this file.

    00001 #ifndef __cmt_deps_builder_h__
    00002 #define __cmt_deps_builder_h__
    00003
    00004 #include "cmt.h"
    00005 #include "cmt_system.h"
    00006
    00007 class DepsBuilder
    00008 {
    00009 public:
    00010
    00011   void clear ();
    00012   void add (const cmt_string& path, const cmt_string& substitution);
    00013   void add_includes (const Use& use);
    00014   CmtSystem::cmt_string_vector& run (const cmt_string& file_name);
    00015
    00016 private:
    00017
    00018   CmtSystem::cmt_string_vector m_include_paths;
    00019   CmtSystem::cmt_string_vector m_substitutions;
    00020
    00021   CmtSystem::cmt_string_vector m_deps;
    00022   CmtSystem::cmt_string_vector m_all_deps;
    00023
    00024 };
    00025
    00026 #endif