NCBI C++ ToolKit
|
#include "ptb_registry.hpp"
#include "proj_item.hpp"
#include "msvc_prj_utils.hpp"
#include <corelib/ncbiobj.hpp>
#include <corelib/ncbienv.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | IMsvcMetaMakefile |
Interface of master msvc makefile. More... | |
class | IMsvcProjectMakefile |
Interface of msvc project makefile. More... | |
class | CMsvcMetaMakefile |
CMsvcMetaMakefile –. More... | |
struct | CMsvcMetaMakefile::SPchInfo |
class | CMsvcProjectMakefile |
CMsvcProjectMakefile –. More... | |
class | CMsvcProjectRuleMakefile |
Abstraction of rule for generation of project settings based on component usage. More... | |
class | CMsvcCombinedProjectMakefile |
Combining of rules and project makefile. More... | |
Definition at line 284 of file msvc_makefile.cpp.
References CreateMsvcProjectMakefileName(), CProjItem::m_Name, and CProjItem::m_ProjType.
string CreateMsvcProjectMakefileName | ( | const string & | project_name, |
CProjItem::TProjType | type | ||
) |
Create project makefile name.
Definition at line 244 of file msvc_makefile.cpp.
References CProjKey::eApp, CProjKey::eDataSpec, CProjKey::eDll, CProjKey::eLib, CProjKey::eMsvc, CMsvc7RegSettings::eMsvcWin32, CMsvc7RegSettings::eMsvcX64, CProjKey::eUtility, GetApp(), CMsvc7RegSettings::GetMsvcPlatform(), CProjBulderApp::GetRegSettings(), NStr::IntToString(), CMsvc7RegSettings::m_MakefilesExt, and NCBI_THROW.
Referenced by CMsvcPrjProjectContext::CMsvcPrjProjectContext(), CreateMsvcProjectMakefileName(), SAppProjectT::DoCreate(), SLibProjectT::DoCreate(), and SMsvcProjectT::DoCreate().
string GetCompilerOpt | ( | const IMsvcMetaMakefile & | meta_file, |
const IMsvcMetaMakefile & | project_file, | ||
const string & | opt, | ||
const SConfigInfo & | config | ||
) |
Compiler.
Definition at line 809 of file msvc_makefile.cpp.
References CMsvc7RegSettings::eMsvc1000, IMsvcMetaMakefile::GetCompilerOpt(), CMsvc7RegSettings::GetMsvcVersion(), kEmptyStr, and val.
Referenced by CCompilerToolImpl::DebugInformationFormat().
string GetConfigurationOpt | ( | const IMsvcMetaMakefile & | meta_file, |
const IMsvcMetaMakefile & | project_file, | ||
const string & | opt, | ||
const SConfigInfo & | config | ||
) |
Get option with taking into account 2 makefiles : matafile and project_file.
Configuration
Definition at line 794 of file msvc_makefile.cpp.
References IMsvcMetaMakefile::GetConfigurationOpt(), kEmptyStr, and val.
Referenced by CConfigurationImpl< ConfTrait >::CharacterSet().
string GetLibrarianOpt | ( | const IMsvcMetaMakefile & | meta_file, |
const IMsvcMetaMakefile & | project_file, | ||
const string & | opt, | ||
const SConfigInfo & | config | ||
) |
Librarian.
Definition at line 841 of file msvc_makefile.cpp.
References CMsvc7RegSettings::eMsvc1000, IMsvcMetaMakefile::GetLibrarianOpt(), CMsvc7RegSettings::GetMsvcVersion(), kEmptyStr, and val.
string GetLinkerOpt | ( | const IMsvcMetaMakefile & | meta_file, |
const IMsvcMetaMakefile & | project_file, | ||
const string & | opt, | ||
const SConfigInfo & | config | ||
) |
Linker.
Definition at line 825 of file msvc_makefile.cpp.
References CMsvc7RegSettings::eMsvc1000, IMsvcMetaMakefile::GetLinkerOpt(), CMsvc7RegSettings::GetMsvcVersion(), kEmptyStr, and val.
Referenced by CLinkerToolImpl< ConfTrait >::AdditionalLibraryDirectories(), and CLinkerToolImpl< ConfTrait >::GenerateDebugInformation().
string GetResourceCompilerOpt | ( | const IMsvcMetaMakefile & | meta_file, |
const IMsvcMetaMakefile & | project_file, | ||
const string & | opt, | ||
const SConfigInfo & | config | ||
) |
ResourceCompiler.
Definition at line 856 of file msvc_makefile.cpp.
References CMsvc7RegSettings::eMsvc1000, CMsvc7RegSettings::GetMsvcVersion(), IMsvcMetaMakefile::GetResourceCompilerOpt(), kEmptyStr, and val.