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

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

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

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