source: dev/trunk/ab5.0/abdev/ab_common/include/Environment.h@ 637

Last change on this file since 637 was 637, checked in by dai_9181, 16 years ago

リンカの依存関係解決モジュールを製作中

File size: 834 bytes
Line 
1#pragma once
2
3namespace ActiveBasic{ namespace Common{
4
5
6struct Platform
7{
8 enum EnumType
9 {
10 X86,
11 X64,
12 };
13};
14
15// ターゲット
16struct TargetModuleType
17{
18 enum EnumType
19 {
20 Exe = 0,
21 Dll,
22 Sll,
23 };
24};
25
26class Environment
27{
28 static std::string rootPath;
29 static bool isRemoveExternal;
30public:
31 static void SetAbdevRootPath( const std::string &rootPath );
32
33 static const std::string GetAbdevRootPath();
34
35 static const std::string GetAbdevSystemDirPath()
36 {
37 return GetAbdevRootPath() + "\\system";
38 }
39
40 static const std::string GetCompilerExePath( Platform::EnumType platform );
41
42 static bool IsRemoveExternal()
43 {
44 return isRemoveExternal;
45 }
46 static void SetRemoveExternalMark( bool isRemoveExternalMark )
47 {
48 Environment::isRemoveExternal = isRemoveExternalMark;
49 }
50};
51
52
53}}
Note: See TracBrowser for help on using the repository browser.