source: dev/trunk/ab5.0/abdev/ab_common/Environment.cpp@ 477

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

構成管理を大幅に改良。

File size: 609 bytes
Line 
1#include "stdafx.h"
2
3std::string ActiveBasic::Common::Environment::rootPath = Jenga::Common::Environment::GetAppDir();
4
5using namespace ActiveBasic::Common;
6
7void Environment::SetAbdevRootPath( const std::string &rootPath )
8{
9 Environment::rootPath = Jenga::Common::Path::MakeFullPath( rootPath, Jenga::Common::Environment::GetAppDir() );
10}
11const std::string Environment::GetCompilerExePath( Platform::EnumType platform )
12{
13 switch( platform )
14 {
15 case Platform::X86:
16 return rootPath + "\\bin\\x86\\abc.exe";
17 case Platform::X64:
18 return rootPath + "\\bin\\x64\\abc.exe";
19 }
20 throw;
21}
Note: See TracBrowser for help on using the repository browser.