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:
authorJens Peters <jp7677@gmail.com>2022-06-26 10:31:23 +0300
committerJens Peters <jp7677@gmail.com>2022-06-26 10:32:30 +0300
commitdee0a069bd4239dd3afba51cd4a6e5f6281c15bb (patch)
treea70f788eda17701b5e25739b0a0ddeaaa8d10d18
parent30d07163adcf1ce8bf6172e5f2be5f0d812d2d22 (diff)
meta: Advertise the same build structure used for CI
-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.