Rev | Line | |
---|
[477] | 1 | #include "stdafx.h"
|
---|
| 2 |
|
---|
| 3 | std::string ActiveBasic::Common::Environment::rootPath = Jenga::Common::Environment::GetAppDir();
|
---|
| 4 |
|
---|
| 5 | using namespace ActiveBasic::Common;
|
---|
| 6 |
|
---|
| 7 | void Environment::SetAbdevRootPath( const std::string &rootPath )
|
---|
| 8 | {
|
---|
| 9 | Environment::rootPath = Jenga::Common::Path::MakeFullPath( rootPath, Jenga::Common::Environment::GetAppDir() );
|
---|
| 10 | }
|
---|
| 11 | const 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.