| 430 | } |
| 431 | |
| 432 | void BootApp::QueuePath(const StringImpl& path) |
| 433 | { |
| 434 | if (DirectoryExists(path)) |
| 435 | { |
| 436 | for (auto& fileEntry : FileEnumerator(path, FileEnumerator::Flags_Files)) |
| 437 | { |
| 438 | String filePath = fileEntry.GetFilePath(); |
| 439 | |
| 440 | String fileName; |
| 441 | fileName = GetFileName(filePath); |
| 442 | |
| 443 | QueueFile(filePath, (mCELibProject != NULL) ? mCELibProject : mProject); |
| 444 | } |
| 445 | |
| 446 | for (auto& fileEntry : FileEnumerator(path, FileEnumerator::Flags_Directories)) |
| 447 | { |
| 448 | String childPath = fileEntry.GetFilePath(); |
| 449 | String dirName; |
| 450 | dirName = GetFileName(childPath); |
| 451 | |
| 452 | if (dirName == "build") |
| 453 | continue; |
| 454 | |
| 455 | QueuePath(childPath); |
| 456 | } |
| 457 | } |
| 458 | else |
| 459 | { |
| 460 | QueueFile(path, mProject); |
| 461 | } |
| 462 | } |
| 463 | |
| 464 | static void CompileThread(void* param) |
| 465 | { |
nothing calls this directly
no test coverage detected