A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/msvc__prj__utils_8hpp.html below:

NCBI C++ ToolKit: src/build-system/project_tree_builder/msvc_prj_utils.hpp File Reference

#include "ptb_registry.hpp"
#include <corelib/ncbienv.hpp>
#include <set>

Go to the source code of this file.

Go to the SVN repository for this file.

bool  PromoteIfDifferent (const string &present_path, const string &candidate_path, const string &ignore)   bool  PromoteIfDifferent (const string &present_path, const string &candidate_path)   Consider promotion candidate to present. More...
  string  GenerateSlnGUID (void)   Generate pseudo-GUID. More...
  string  IdentifySlnGUID (const string &source_dir, const CProjKey &proj)   string  SourceFileExt (const string &file_path)   Get extension for source file without extension. More...
  void  LoadConfigInfoByNames (const CNcbiRegistry &registry, const list< string > &config_names, list< SConfigInfo > *configs)   bool  IsSubdir (const string &abs_parent_dir, const string &abs_dir)   Is abs_dir a parent of abs_parent_dir. More...
  template<class C , class P > void  EraseIf (C &cont, const P &pred)   Erase if predicate is true. More...
  string  GetOpt (const CPtbRegistry &registry, const string &section, const string &opt, const SConfigInfo &config)   Get option fron registry from [<section>.debug. More...
  string  ConfigName (const string &config)   return <config>|Win32 as needed by MSVC compiler More...
  bool  SameRootDirs (const string &dir1, const string &dir2)   Checks if 2 dirs has the same root. More...
  string  CreateProjectName (const CProjKey &project_id)   Project naming schema. More...
  CProjKey  CreateProjKey (const string &project_name)   const CDataToolGeneratedSrcIsProducedByDatatool (const string &src_path_abs, const CProjItem &project)   ◆ ConfigName() ◆ CreateProjectName()

Project naming schema.

Definition at line 1474 of file msvc_prj_utils.cpp.

References CProjKey::eApp, CProjKey::eDataSpec, CProjKey::eDll, CProjKey::eLib, CProjKey::eMsvc, CMsvc7RegSettings::eUnix, CProjKey::eUtility, CMsvc7RegSettings::GetMsvcPlatform(), CProjKey::Id(), NCBI_THROW, and CProjKey::Type().

Referenced by CMsvcPrjProjectContext::CMsvcPrjProjectContext(), CProjBulderApp::CollectLibToLibDependencies(), CPreBuildEventTool::CommandLine(), CPreBuildEventToolLibImpl::CommandLine(), CProjBulderApp::GenerateUnixProjects(), CProjBulderApp::Gui_ConfirmProjects(), IdentifySlnGUID(), PIsExcludedByUser::operator()(), and CMakeProject::Write().

◆ CreateProjKey() ◆ EraseIf()

template<class C , class P >

void EraseIf ( Ccont, const Ppred  ) ◆ GenerateSlnGUID() string GenerateSlnGUID ( void  ) ◆ GetOpt() ◆ IdentifySlnGUID()

Definition at line 274 of file msvc_prj_utils.cpp.

References CDirEntry::AddTrailingPathSeparator(), buf, CDirEntry::ConcatPath(), CreateProjectName(), CDirEntry::CreateRelativePath(), data, CProjKey::eMsvc, ePTB_ConfigurationError, GenerateSlnGUID(), GetApp(), CGuidGenerator::GetGuidUser(), CProjBulderApp::GetProjectTreeInfo(), CMsvc7RegSettings::GetVcprojExt(), guid_gen, in(), CGuidGenerator::Insert(), SProjectTreeInfo::m_Compilers, PTB_WARNING_EX, and CProjKey::Type().

Referenced by CreateUtilityProjectItem(), SAppProjectT::DoCreate(), SLibProjectT::DoCreate(), SDllProjectT::DoCreate(), SMsvcProjectT::DoCreate(), and SLibProjectT::DoCreateDataSpec().

◆ IsProducedByDatatool()

Definition at line 1661 of file msvc_prj_utils.cpp.

References asn, CDirEntry::ConcatPath(), CProjKey::eDataSpec, NStr::EndsWith(), map_checker< Container >::find(), GetApp(), CDirEntry::GetBase(), IRegistry::GetString(), CProjBulderApp::GetWholeTree(), in(), IsProducedByDatatool(), ITERATE, CProjItem::m_DatatoolSources, CProjItem::m_Depends, CProjectItemsTree::m_Projects, n, NULL, and CDirEntry::SplitPath().

Referenced by IsProducedByDatatool().

◆ IsSubdir() ◆ LoadConfigInfoByNames() ◆ PromoteIfDifferent() [1/2] ◆ PromoteIfDifferent() [2/2]

Definition at line 128 of file msvc_prj_utils.cpp.

References a, NStr::CompareCase(), GetApp(), in(), NCBI_THROW, NcbiGetlineEOL(), CProjBulderApp::RegisterGeneratedFile(), CDirEntry::Remove(), CDirEntry::Rename(), SleepSec(), NStr::StartsWith(), and NStr::TruncateSpacesInPlace().

Referenced by CMsvcConfigure::AnalyzeDefines(), CreateConfigurableFile(), and CMsvcConfigure::WriteBuildVer().

◆ SameRootDirs() ◆ SourceFileExt()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4