Changeset 477 in dev for trunk/ab5.0/abdev/ab_common


Ignore:
Timestamp:
Apr 6, 2008, 8:07:40 PM (17 years ago)
Author:
dai_9181
Message:

構成管理を大幅に改良。

Location:
trunk/ab5.0/abdev/ab_common
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/Environment.h

    r475 r477  
    44
    55
     6struct Platform
     7{
     8    enum EnumType
     9    {
     10        X86,
     11        X64,
     12    };
     13};
     14
    615class Environment
    716{
     17    static std::string rootPath;
    818public:
    9     static const std::string GetAbdevRootPath();
    10     static const std::string GetX86CompilerExePath();
    11     static const std::string GetX64CompilerExePath();
     19    static void SetAbdevRootPath( const std::string &rootPath );
     20
     21    static const std::string GetAbdevRootPath()
     22    {
     23        return rootPath;
     24    }
     25
     26    static const std::string GetAbdevSystemDirPath()
     27    {
     28        return GetAbdevRootPath() + "\\system";
     29    }
     30
     31    static const std::string GetCompilerExePath( Platform::EnumType platform );
    1232};
    1333
  • trunk/ab5.0/abdev/ab_common/ab_common.vcproj

    r475 r477  
    150150            >
    151151            <File
     152                RelativePath=".\Environment.cpp"
     153                >
     154            </File>
     155            <File
    152156                RelativePath=".\stdafx.cpp"
    153157                >
     
    190194            >
    191195        </Filter>
    192         <File
    193             RelativePath=".\ReadMe.txt"
    194             >
    195         </File>
    196196    </Files>
    197197    <Globals>
  • trunk/ab5.0/abdev/ab_common/stdafx.h

    r475 r477  
    2222#include <boost/foreach.hpp>
    2323
     24#include <jenga/include/common/CmdLine.h>
     25#include <jenga/include/common/Environment.h>
     26#include <jenga/include/common/File.h>
     27#include <jenga/include/common/Path.h>
    2428#include <jenga/include/common/String.h>
    25 #include <jenga/include/common/File.h>
    26 #include <jenga/include/common/CmdLine.h>
    27 #include <jenga/include/common/Path.h>
    2829
    2930#include "Environment.h"
Note: See TracChangeset for help on using the changeset viewer.