mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Show comptime emits as embedded sourceviews
This commit is contained in:
parent
ee27f6fd02
commit
4d1e14a1c3
65 changed files with 3360 additions and 633 deletions
|
@ -1205,10 +1205,21 @@ namespace IDE
|
|||
linkLine.Append(" /ignore:4099");
|
||||
}
|
||||
|
||||
int targetDotPos = targetPath.LastIndexOf('.');
|
||||
if (targetDotPos != -1)
|
||||
{
|
||||
var writeEmitCmd = new IDEApp.WriteEmitCmd();
|
||||
writeEmitCmd.mPath = new .(targetPath, 0, targetDotPos);
|
||||
writeEmitCmd.mPath.Append("__emit.zip");
|
||||
writeEmitCmd.mProjectName = new .(project.mProjectName);
|
||||
gApp.mExecutionQueue.Add(writeEmitCmd);
|
||||
}
|
||||
|
||||
var runCmd = gApp.QueueRun(linkerPath, linkLine, gApp.mInstallDir, .UTF16WithBom);
|
||||
runCmd.mReference = new .(project.mProjectName);
|
||||
runCmd.mEnvVars = new .() { (new String("VSLANG"), new String("1033")) };
|
||||
runCmd.mOnlyIfNotFailed = true;
|
||||
|
||||
var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project);
|
||||
tagetCompletedCmd.mOnlyIfNotFailed = true;
|
||||
gApp.mExecutionQueue.Add(tagetCompletedCmd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue