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

Last change on this file since 621 was 608, checked in by dai_9181, 17 years ago

静的リンクライブラリプロジェクトの作成(IDE側)に対応。

File size: 601 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;
29public:
30 static void SetAbdevRootPath( const std::string &rootPath );
31
32 static const std::string GetAbdevRootPath();
33
34 static const std::string GetAbdevSystemDirPath()
35 {
36 return GetAbdevRootPath() + "\\system";
37 }
38
39 static const std::string GetCompilerExePath( Platform::EnumType platform );
40};
41
42
43}}
Note: See TracBrowser for help on using the repository browser.