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:
parent
dae5c6cee4
commit
f4c252048e
19 changed files with 231 additions and 49 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue