NCBI C++ ToolKit
Functions
msvc_dlls_info.cpp File Reference
#include <ncbi_pch.hpp>
#include "msvc_dlls_info.hpp"
#include "proj_builder_app.hpp"
#include "msvc_prj_defines.hpp"
#include "proj_projects.hpp"
#include "proj_tree_builder.hpp"
#include "msvc_project_context.hpp"
#include "msvc_prj_files_collector.hpp"
#include "msvc_dlls_info_utils.hpp"
#include "ptb_err_codes.hpp"
#include <corelib/ncbistre.hpp>
#include <algorithm>
+ Include dependency graph for msvc_dlls_info.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

void FilterOutDllHostedProjects (const CProjectItemsTree &tree_src, CProjectItemsTree *tree_dst)
 
static bool s_IsInTree (CProjKey::TProjType proj_type, const string &proj_id, const CProjectItemsTree *tree)
 
static void s_InitalizeDllProj (const string &dll_id, CProjItem *dll, const CProjectItemsTree &tree_src, CProjectItemsTree *tree_dst)
 
static void s_AddProjItemToDll (const CProjectItemsTree &tree_src, const CProjItem &lib, CProjItem &dll)
 
void AnalyzeDllData (CProjectItemsTree &tree)
 
string GetDllHost (const CProjectItemsTree &tree, const string &lib)
 
void CreateDllBuildTree (const CProjectItemsTree &tree_src, CProjectItemsTree *tree_dst)
 
void CreateDllsList (const CProjectItemsTree &tree_src, list< string > *dll_ids)
 
void CollectDllsDepends (const CProjectItemsTree &tree_src, const list< string > &dll_ids, list< string > *dll_depends_ids)
 

Function Documentation

◆ AnalyzeDllData()

void AnalyzeDllData ( CProjectItemsTree tree)

◆ CollectDllsDepends()

void CollectDllsDepends ( const CProjectItemsTree tree_src,
const list< string > &  dll_ids,
list< string > *  dll_depends_ids 
)

◆ CreateDllBuildTree()

void CreateDllBuildTree ( const CProjectItemsTree tree_src,
CProjectItemsTree tree_dst 
)

◆ CreateDllsList()

void CreateDllsList ( const CProjectItemsTree tree_src,
list< string > *  dll_ids 
)

◆ FilterOutDllHostedProjects()

void FilterOutDllHostedProjects ( const CProjectItemsTree tree_src,
CProjectItemsTree tree_dst 
)

◆ GetDllHost()

string GetDllHost ( const CProjectItemsTree tree,
const string lib 
)

◆ s_AddProjItemToDll()

static void s_AddProjItemToDll ( const CProjectItemsTree tree_src,
const CProjItem lib,
CProjItem dll 
)
static

Definition at line 142 of file msvc_dlls_info.cpp.

References map_checker< Container >::begin(), CDirEntry::ConcatPath(), copy(), SMakeProjectT::CreateMakeAppLibFileName(), SAppProjectT::CreateNcbiCToolkitLibs(), CDirEntry::CreateRelativePath(), CMsvcSite::e3PartyLib, CProjKey::eDll, CProjKey::eLib, eMakeType_Undefined, map_checker< Container >::empty(), map_checker< Container >::end(), f(), map_checker< Container >::find(), g(), GetApp(), CMsvcPrjProjectContext::GetCustomBuildInfo(), CProjBulderApp::GetDllFilesDistr(), GetDllHost(), CMsvcPrjFilesCollector::GetExtraFiles(), CMsvcSite::GetLibChoiceForLib(), CProjBulderApp::GetSite(), CMsvcPrjFilesCollector::HeaderFiles(), i, CProjKey::Id(), CMsvcPrjProjectContext::IncludeDirsAbs(), CMsvcPrjProjectContext::InlineDirsAbs(), CMsvcPrjFilesCollector::InlineFiles(), ITERATE, CMsvcSite::SLibChoice::m_3PartyLib, CSimpleMakeFileContents::m_Contents, CProjItem::m_CustomBuild, CProjItem::m_DatatoolSources, CProjItem::m_Defines, CProjItem::m_Depends, CProjItem::m_External, CProjItem::m_ExtraFiles, CProjItem::m_ID, CProjItem::m_IncludeDirs, CProjItem::m_Includes, CProjItem::m_Inlines, CProjItem::m_Libs3Party, CProjItem::m_MakeType, CProjItem::m_Name, CProjItem::m_NcbiCLibs, CProjectItemsTree::m_Projects, CProjItem::m_Requires, CProjItem::m_Sources, CProjItem::m_SourcesBaseDir, CProjItem::m_StyleObjcpp, CProjItem::m_Watchers, max(), CDirEntry::NormalizePath(), CMsvcPrjProjectContext::ProjectDir(), CDllSrcFilesDistr::RegisterExtraFile(), CDllSrcFilesDistr::RegisterHeader(), CDllSrcFilesDistr::RegisterInline(), CDllSrcFilesDistr::RegisterSource(), CMsvcPrjFilesCollector::SourceFiles(), and CDirEntry::SplitPath().

Referenced by CreateDllBuildTree().

◆ s_InitalizeDllProj()

static void s_InitalizeDllProj ( const string dll_id,
CProjItem dll,
const CProjectItemsTree tree_src,
CProjectItemsTree tree_dst 
)
static

◆ s_IsInTree()

static bool s_IsInTree ( CProjKey::TProjType  proj_type,
const string proj_id,
const CProjectItemsTree tree 
)
static

Definition at line 72 of file msvc_dlls_info.cpp.

References tree< T, tree_node_allocator >::end().

Referenced by s_InitalizeDllProj().

Modified on Tue Apr 23 07:40:55 2024 by modify_doxy.py rev. 669887