mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
Build improvements (#1422)
Co-authored-by: Alexandru Macocian <amacocian@microsoft.com>
This commit is contained in:
Vendored
+8
-12
@@ -3,19 +3,15 @@
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Debug Daybreak.Linux",
|
||||
"type": "coreclr",
|
||||
"type": "dotnet",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build-linux",
|
||||
"program": "${workspaceFolder}/Daybreak.Linux/bin/Debug/net10.0/linux-x64/Daybreak.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/Daybreak.Linux/bin/Debug/net10.0/linux-x64",
|
||||
"env": {
|
||||
"GDK_BACKEND": "x11",
|
||||
"WEBKIT_DISABLE_DMABUF_RENDERER": "1",
|
||||
"WEBKIT_DISABLE_COMPOSITING_MODE": "1"
|
||||
},
|
||||
"console": "integratedTerminal",
|
||||
"stopAtEntry": false
|
||||
"projectPath": "${workspaceFolder}/Daybreak.Linux/Daybreak.Linux.csproj"
|
||||
},
|
||||
{
|
||||
"name": "Debug Daybreak.Windows",
|
||||
"type": "dotnet",
|
||||
"request": "launch",
|
||||
"projectPath": "${workspaceFolder}/Daybreak.Windows/Daybreak.Windows.csproj"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+12
@@ -12,6 +12,18 @@
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "build-windows",
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/Daybreak.Windows/Daybreak.Windows.csproj",
|
||||
"/property:GenerateFullPaths=true",
|
||||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"profiles": {
|
||||
"Daybreak.Linux": {
|
||||
"commandName": "Project",
|
||||
"environmentVariables": {
|
||||
"GDK_BACKEND": "x11",
|
||||
"WEBKIT_DISABLE_DMABUF_RENDERER": "1",
|
||||
"WEBKIT_DISABLE_COMPOSITING_MODE": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"profiles": {
|
||||
"Daybreak.Windows": {
|
||||
"commandName": "Project"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,5 +10,4 @@ if (-not $env:WEBKIT_DISABLE_DMABUF_RENDERER) { $env:WEBKIT_DISABLE_DMABUF_RENDE
|
||||
# Disable GPU compositing (blank windows on some drivers)
|
||||
if (-not $env:WEBKIT_DISABLE_COMPOSITING_MODE) { $env:WEBKIT_DISABLE_COMPOSITING_MODE = "1" }
|
||||
|
||||
dotnet run --project Daybreak.Linux
|
||||
|
||||
dotnet run --project Daybreak.Linux
|
||||
@@ -0,0 +1,4 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
$RepoRoot = Resolve-Path "$PSScriptRoot/.."
|
||||
|
||||
dotnet run --project Daybreak.Windows
|
||||
Reference in New Issue
Block a user