--------------------------------- FileUtil::SetExecutablePath Sets the base path the executable lives in
| 232 | // Sets the base path the executable lives in |
| 233 | // |
| 234 | void FileUtil::SetExecutablePath(std::string const& inPath) |
| 235 | { |
| 236 | std::string path; |
| 237 | #ifdef PLATFORM_Win |
| 238 | GetExecutablePathName(path); |
| 239 | #else |
| 240 | path = inPath; |
| 241 | #endif |
| 242 | |
| 243 | ET_ASSERT(IsAbsolutePath(path)); |
| 244 | |
| 245 | // set the executable path to the part without the exe name |
| 246 | s_ExePath = ExtractPath(path); |
| 247 | UnifyPathDelimiters(s_ExePath); |
| 248 | } |
| 249 | |
| 250 | //--------------------------------- |
| 251 | // FileUtil::SetCompiledData |
nothing calls this directly
no test coverage detected