NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include "proj_tree_builder.hpp"
#include "proj_builder_app.hpp"
#include "proj_src_resolver.hpp"
#include "msvc_prj_defines.hpp"
#include "proj_projects.hpp"
#include <algorithm>
#include "ptb_err_codes.hpp"
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | PLibExclude |
Functions | |
void | s_WriteBuildOrder (const string &dir_name, const string &mkname) |
static void | s_CollectAllLeaves (const map< string, set< string > > &source_dep, const map< string, set< string > > &source_flags, const string &branch, set< string > &all_dep, set< string > &all_flags) |
CProjItem | CreateUtilityProjectItem (const string &prj_dir, const string &name) |
void | s_AnalyzeLibraryOrder (CSymResolver &resolver, const CProjectItemsTree &tree) |
void | s_CollectDatatoolIds (const CProjectItemsTree &tree, map< string, CProjKey > *datatool_ids) |
Variables | |
const char * | s_check_separator = " ____ " |
static map< string, size_t > | s_buildOrder_byname |
static size_t | s_BuildOrder =0 |
Definition at line 1850 of file proj_tree_builder.cpp.
References eMakeType_Undefined, CProjKey::eUtility, IdentifySlnGUID(), and NStr::Replace().
Referenced by CProjBulderApp::GenerateMsvcProjects().
void s_AnalyzeLibraryOrder | ( | CSymResolver & | resolver, |
const CProjectItemsTree & | tree | ||
) |
Definition at line 2451 of file proj_tree_builder.cpp.
References tree< T, tree_node_allocator >::begin(), map_checker< Container >::clear(), set< Key, Compare >::clear(), copy(), CProjKey::eApp, tree< T, tree_node_allocator >::end(), set< Key, Compare >::end(), failed, FilterDefine(), set< Key, Compare >::find(), GetApp(), CSimpleMakeFileContents::GetValue(), CSymResolver::HasDefine(), i, set< Key, Compare >::insert(), CSymResolver::IsDefine(), l(), CProjItem::m_DataSource, CProjBulderApp::m_GraphDepFlags, CProjBulderApp::m_GraphDepPrecedes, CSymResolver::Resolve(), s_CollectAllLeaves(), map_checker< Container >::size(), set< Key, Compare >::size(), CSymResolver::StripDefine(), tmp, and val.
Referenced by CProjectTreeBuilder::BuildOneProjectTree().
|
static |
Definition at line 769 of file proj_tree_builder.cpp.
References b, set< Key, Compare >::end(), f(), set< Key, Compare >::find(), flags, set< Key, Compare >::insert(), and ITERATE.
Referenced by s_AnalyzeLibraryOrder(), and SMakeProjectT::VerifyLibDepends().
void s_CollectDatatoolIds | ( | const CProjectItemsTree & | tree, |
map< string, CProjKey > * | datatool_ids | ||
) |
Definition at line 3398 of file proj_tree_builder.cpp.
References CDirEntry::ConcatPath(), CDirEntry::CreateRelativePath(), CProjKey::eDataSpec, GetApp(), ITERATE, CProjItem::m_DatatoolSources, CDataToolGeneratedSrc::m_SourceBaseDir, CDataToolGeneratedSrc::m_SourceFile, n, and CProjKey::Type().
Referenced by CProjectTreeBuilder::AddDatatoolSourcesDepends().
Definition at line 47 of file proj_tree_builder.cpp.
References CDirEntry::ConcatPath(), s_BuildOrder, and s_buildOrder_byname.
Referenced by CProjectTreeBuilder::ProcessDir().
|
static |
Definition at line 45 of file proj_tree_builder.cpp.
Referenced by s_WriteBuildOrder().
Definition at line 44 of file proj_tree_builder.cpp.
Referenced by s_WriteBuildOrder(), and CProjectTreeBuilder::VerifyBuildOrder().
const char* s_check_separator = " ____ " |
Definition at line 43 of file proj_tree_builder.cpp.
Referenced by SAppProjectT::DoCreate().