1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +02:00

Fixed build paths, added comparison warnings, other misc fixes

This commit is contained in:
Brian Fiete 2019-10-05 10:26:26 -07:00
parent dae5c6cee4
commit f4c252048e
19 changed files with 231 additions and 49 deletions

View file

@ -831,19 +831,23 @@ namespace IDE
return true;
Workspace.Options workspaceOptions = gApp.GetCurWorkspaceOptions();
BfCompiler bfCompiler = gApp.mBfBuildCompiler;
BfCompiler bfCompiler = gApp.mBfBuildCompiler;
var bfProject = gApp.mBfBuildSystem.mProjectMap[project];
bool bfHadOutputChanges;
bool bfHadOutputChanges = false;
List<String> bfFileNames = scope List<String>();
bfCompiler.GetOutputFileNames(bfProject, true, out bfHadOutputChanges, bfFileNames);
defer ClearAndDeleteItems(bfFileNames);//DeleteAndClearItems!(bfFileNames);
if (project.mCurBfOutputFileNames == null)
{
project.mCurBfOutputFileNames = new .();
bfCompiler.GetOutputFileNames(bfProject, true, out bfHadOutputChanges, project.mCurBfOutputFileNames);
}
for (var fileName in project.mCurBfOutputFileNames)
bfFileNames.Add(fileName);
if (bfHadOutputChanges)
project.mNeedsTargetRebuild = true;
List<ProjectSource> allFileNames = scope List<ProjectSource>();
List<String> clangAllObjNames = scope List<String>();
//List<String> clangObjNames = scope List<String>();
gApp.GetClangFiles(project.mRootFolder, allFileNames);
String workspaceBuildDir = scope String();
@ -853,8 +857,6 @@ namespace IDE
if (!projectBuildDir.IsEmpty)
Directory.CreateDirectory(projectBuildDir).IgnoreError();
//List<String> buildFileNames = new List<String>();
String targetPath = scope String();
String outputDir = scope String();