msvc_configure_prj_generator.hpp
来自「ncbi源码」· HPP 代码 · 共 138 行
HPP
138 行
/* * =========================================================================== * PRODUCTION $Log: msvc_configure_prj_generator.hpp,v $ * PRODUCTION Revision 1000.1 2004/06/16 17:04:46 gouriano * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4 * PRODUCTION * =========================================================================== */#ifndef PROJECT_TREE_BULDER__MSVC_CONFIGURE_PRJ_GENERATOR__HPP#define PROJECT_TREE_BULDER__MSVC_CONFIGURE_PRJ_GENERATOR__HPP/* $Id: msvc_configure_prj_generator.hpp,v 1000.1 2004/06/16 17:04:46 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Author: Viatcheslav Gorelenkov * */#include <app/project_tree_builder/proj_item.hpp>#include <set>#include <app/project_tree_builder/msvc_prj_utils.hpp>#include <corelib/ncbienv.hpp>BEGIN_NCBI_SCOPEUSING_SCOPE(objects);/////////////////////////////////////////////////////////////////////////////////// CMsvcConfigureProjectGenerator --////// Generator of _MasterProject for MSVC 7.10 solution.////// Generates utility project from the project tree. Projects hierarchy in the/// project tree will be represented as folders hierarchy in _MasterProject./// Every project will be represented as a file <projectname>.bulid with /// attached custom build command that allows to build this project.class CMsvcConfigureProjectGenerator{public: CMsvcConfigureProjectGenerator(const string& output_dir, const list<SConfigInfo>& configs, bool dll_build, const string& project_dir, const string& tree_root, const string& subtree_to_build, const string& solution_to_build); ~CMsvcConfigureProjectGenerator(void); void SaveProject(); string GetPath() const;private: const string m_Name; const string m_OutputDir; list<SConfigInfo> m_Configs; bool m_DllBuild; const string m_ProjectDir; const string m_TreeRoot; const string m_SubtreeToBuild; const string m_SolutionToBuild; const string m_ProjectItemExt; string m_CustomBuildCommand; const string m_SrcFileName; const string m_FilesSubdir; void CreateProjectFileItem(void) const; /// Prohibited to: CMsvcConfigureProjectGenerator(void); CMsvcConfigureProjectGenerator(const CMsvcConfigureProjectGenerator&); CMsvcConfigureProjectGenerator& operator= (const CMsvcConfigureProjectGenerator&);};END_NCBI_SCOPE/* * =========================================================================== * $Log: msvc_configure_prj_generator.hpp,v $ * Revision 1000.1 2004/06/16 17:04:46 gouriano * PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.4 * * Revision 1.4 2004/06/10 15:12:55 gorelenk * Added newline at the file end to avoid GCC warning. * * Revision 1.3 2004/03/10 21:26:19 gorelenk * Changed CMsvcConfigureProjectGenerator constructor. * * Revision 1.2 2004/02/12 17:48:11 gorelenk * Re-designed of projects saving. Added member-function GetPath(). * * Revision 1.1 2004/02/12 16:21:12 gorelenk * Initial Revision. * * =========================================================================== */#endif //PROJECT_TREE_BULDER__MSVC_CONFIGURE_PRJ_GENERATOR__HPP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?