| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Test_QtMsBuild.Build project can be used to test Qt/MSBuild code
without the need to start a full debug session. Test methods in this
project can invoke MSBuild in-proc, which allows debugging Qt/MSBuild
targets and the overall build procedure of VS Qt projects.
Example use (in Test_Build.cs):
// Evaluate project (i.e. calculate property values and items)
// Does not run build
var project = MsBuild.Evaluate(temp.ProjectPath,
("Platform", "x64"), ("Configuration", "Debug"));
// Prepare evaluated project for build
// Returns an object that allows tracking the build progress
TestBuild = MsBuild.Prepare(project);
// Handle build events
// Set a breakpoint in the handler method to break during build
MsBuild.Log.EventAdded += OnBuildEvent;
// Run build
bool buildOk = MsBuild.Run(TestBuild);
// Output "pretty-printed" build report to test log
Debug.WriteLine(MsBuild.Log.Report());
Change-Id: I6286beb622354fd1397289b6472302f1d988a473
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| |
|
|
|
|
|
|
| |
... WITH Qt-GPL-exception.
Fixes: QTVSADDINBUG-1179
Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|
| |
|
|
|
| |
Change-Id: I38700243f7ef55239b247945324e4e0a978b097f
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
|
|
|
To add this feature to a project, add EvalProps.cs and import
EvalProps.targets at the end of the project file.
Change-Id: I8302df3859da8519dbc25f248b6996cdf7926085
Reviewed-by: Ali Can Demiralp <ali.demiralp@qt.io>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
|