Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jp7677/dxvk-nvapi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md8
2 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 688f243..d0295ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+build
builddir
.idea/**
.vscode/**
diff --git a/README.md b/README.md
index 6a2d701..7d5cf49 100644
--- a/README.md
+++ b/README.md
@@ -91,11 +91,11 @@ The actual unit tests can be run with `nvapi64-tests.exe [@unit-tests]` to valid
Producing a debug build and starting a debugging session with the test suite can be achieved with the following snippet:
```bash
-meson --cross-file "./build-win64.txt" --buildtype "debugoptimized" -Denable_tests=True builddir && cd builddir
-meson compile
+meson --cross-file "./build-win64.txt" --buildtype "debugoptimized" -Denable_tests=True build/dev
+meson compile -C build/dev
-ln -sr src/nvapi64.dll tests/nvapi64.dll # to ensure that nvapi64-tests.exe finds nvapi64.dll
-DXVK_LOG_LEVEL=none DXVK_NVAPI_LOG_LEVEL=none WINEDEBUG=-all WINEDLLOVERRIDES=nvapi64=n winedbg --gdb tests/nvapi64-tests.exe [@all]
+ln -sr build/dev/src/nvapi64.dll build/dev/tests/nvapi64.dll # to ensure that nvapi64-tests.exe finds nvapi64.dll
+DXVK_LOG_LEVEL=none DXVK_NVAPI_LOG_LEVEL=none WINEDEBUG=-all WINEDLLOVERRIDES=nvapi64=n winedbg --gdb build/dev/tests/nvapi64-tests.exe [@all]
```
Once the debug session has started, use `c` to start/continue execution and a.o. `bt` to show a proper stacktrace after a segmentation fault.