Changeset 477 in dev for trunk/ab5.0/abdev/ab_common
- Timestamp:
- Apr 6, 2008, 8:07:40 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/ab_common
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/Environment.h
r475 r477 4 4 5 5 6 struct Platform 7 { 8 enum EnumType 9 { 10 X86, 11 X64, 12 }; 13 }; 14 6 15 class Environment 7 16 { 17 static std::string rootPath; 8 18 public: 9 static const std::string GetAbdevRootPath(); 10 static const std::string GetX86CompilerExePath(); 11 static const std::string GetX64CompilerExePath(); 19 static void SetAbdevRootPath( const std::string &rootPath ); 20 21 static const std::string GetAbdevRootPath() 22 { 23 return rootPath; 24 } 25 26 static const std::string GetAbdevSystemDirPath() 27 { 28 return GetAbdevRootPath() + "\\system"; 29 } 30 31 static const std::string GetCompilerExePath( Platform::EnumType platform ); 12 32 }; 13 33 -
trunk/ab5.0/abdev/ab_common/ab_common.vcproj
r475 r477 150 150 > 151 151 <File 152 RelativePath=".\Environment.cpp" 153 > 154 </File> 155 <File 152 156 RelativePath=".\stdafx.cpp" 153 157 > … … 190 194 > 191 195 </Filter> 192 <File193 RelativePath=".\ReadMe.txt"194 >195 </File>196 196 </Files> 197 197 <Globals> -
trunk/ab5.0/abdev/ab_common/stdafx.h
r475 r477 22 22 #include <boost/foreach.hpp> 23 23 24 #include <jenga/include/common/CmdLine.h> 25 #include <jenga/include/common/Environment.h> 26 #include <jenga/include/common/File.h> 27 #include <jenga/include/common/Path.h> 24 28 #include <jenga/include/common/String.h> 25 #include <jenga/include/common/File.h>26 #include <jenga/include/common/CmdLine.h>27 #include <jenga/include/common/Path.h>28 29 29 30 #include "Environment.h"
Note:
See TracChangeset
for help on using the changeset viewer.