Skip to content

Commit 52de0cf

Browse files
committed
updated build files and instructions
1 parent a54e6a3 commit 52de0cf

File tree

25 files changed

+86
-61
lines changed

25 files changed

+86
-61
lines changed

.devcontainer/devcontainer.json

100644100755
File mode changed.

.gdbinit

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
set debuginfod enabled off
2+
3+
file ./bin/sample
4+
r
5+
6+
bt
7+
q

.github/FUNDING.yml

100644100755
File mode changed.

.github/ISSUE_TEMPLATE/bug_report.md

100644100755
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,15 @@ assignees: ''
99

1010
Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest `master` as well.
1111

12-
**Important:** When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and, if possible, a D3D11/D3D9 Apitrace (see https://github.com/apitrace/apitrace) so that the issue can be reproduced.
13-
In order to create a trace for **D3D11/D3D10**: Run `wine apitrace.exe trace -a dxgi YOURGAME.exe`.
14-
In order to create a trace for **D3D9**: Follow https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace.
15-
Preferably record the trace on Windows, or wined3d if possible.
12+
**Please note that the project is in its early stages. Inconsistencies will happen.**
1613

17-
**Reports with no log files will be ignored.**
18-
19-
### Software information
20-
Name of the game, settings used etc.
14+
### Steps to Reproduce
15+
Descrie a piece of code or a step by step guide so we can reproduce your issue.
2116

2217
### System information
2318
- GPU:
2419
- Driver:
25-
- Wine version:
26-
- DXVK version:
20+
- D3D Version: 9
2721

2822
### Apitrace file(s)
2923
- Put a link here

.github/workflows/cmake.yml

100644100755
File mode changed.

.gitignore

100644100755
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ install_manifest.txt
1010
compile_commands.json
1111
CTestTestfile.cmake
1212
_deps
13-
build
13+
build/*
14+
!build/opendx
15+
build/opendx/*
16+
!build/opendx/usr
1417
.kdev4
15-
OpenDX.kdev4
18+
*.kdev4
1619
opendx.tar
1720
opendx.deb
18-
!build/.no-delete
21+
.cache

.vscode/c_cpp_properties.json

100644100755
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
"/usr/include",
1616
"/usr/include/pango-1.0",
1717
"/usr/include/gtk-4.0",
18-
"/usr/include/glib-2.0",
1918
"/usr/include/pango-1.0",
20-
"/usr/lib/x86_64-linux-gnu/glib-2.0/include",
2119
"/usr/include/harfbuzz",
2220
"/usr/include/freetype2",
2321
"/usr/include/libpng16",

.vscode/launch.json

100644100755
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,37 @@
99
"args": [],
1010
"stopAtEntry": false,
1111
"cwd": "${workspaceFolder}/build",
12-
"environment": [],
12+
"environment": [
13+
{
14+
"name": "LD_LIBRARY_PATH",
15+
"value": "${workspaceFolder}/build/opendx/lib"
16+
}
17+
],
1318
"externalConsole": false,
1419
"MIMode": "gdb",
15-
"miDebuggerPath": "/usr/bin/gdb"
20+
"miDebuggerPath": "/usr/bin/gdb",
21+
"preLaunchTask": "Build C++ Project"
1622
},
1723

1824
//sample (also in build folder)
1925
{
2026
"name": "sample",
2127
"type": "cppdbg",
2228
"request": "launch",
23-
"program": "${workspaceFolder}/build/tests/sample",
29+
"program": "${workspaceFolder}/build/opendx/bin/sample",
2430
"args": [],
2531
"stopAtEntry": false,
2632
"cwd": "${workspaceFolder}/build",
27-
"environment": [],
33+
"environment": [
34+
{
35+
"name": "LD_LIBRARY_PATH",
36+
"value": "${workspaceFolder}/build/opendx/lib"
37+
}
38+
],
2839
"externalConsole": false,
2940
"MIMode": "gdb",
30-
"miDebuggerPath": "/usr/bin/gdb"
41+
"miDebuggerPath": "/usr/bin/gdb",
42+
"preLaunchTask": "Build C++ Project"
3143
}
3244
],
3345
"version": "2.0.0"

.vscode/settings.json

100644100755
File mode changed.

.vscode/tasks.json

Lines changed: 7 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,21 @@
11
{
2+
"version": "2.0.0",
23
"tasks": [
34
{
4-
"type": "cppbuild",
5-
"label": "C/C++: g++ build active file",
6-
"command": "/usr/bin/g++",
7-
"args": [
8-
"-fdiagnostics-color=always",
9-
"-g",
10-
"${file}",
11-
"-o",
12-
"${fileDirname}/${fileBasenameNoExtension}"
13-
],
5+
"label": "Build C++ Project",
6+
"type": "shell",
7+
"command": "cmake --fresh .. && make -j",
148
"options": {
15-
"cwd": "${fileDirname}"
9+
"cwd": "${workspaceFolder}/build"
1610
},
17-
"problemMatcher": [
18-
"$gcc"
19-
],
2011
"group": {
2112
"kind": "build",
2213
"isDefault": true
2314
},
24-
"detail": "Task generated by Debugger."
25-
},
26-
{
27-
"type": "cppbuild",
28-
"label": "C/C++: gcc build active file",
29-
"command": "/usr/bin/gcc",
30-
"args": [
31-
"-fdiagnostics-color=always",
32-
"-g",
33-
"${file}",
34-
"-o",
35-
"${fileDirname}/${fileBasenameNoExtension}",
36-
"-I${workspaceFolder}/include/d3d12.so",
37-
"-I${workspaceFolder}/include/dxgi.so",
38-
"-I${workspaceFolder}/include/wrl"
39-
],
40-
"options": {
41-
"cwd": "${fileDirname}"
42-
},
4315
"problemMatcher": [
4416
"$gcc"
4517
],
46-
"group": "build",
47-
"detail": "Task generated by Debugger."
18+
"detail": "Compiles the project using 'cmake' and 'make' in the build folder."
4819
}
49-
],
50-
"version": "2.0.0"
20+
]
5121
}

0 commit comments

Comments
 (0)