diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-07-01 09:26:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 09:26:53 -0700 |
| commit | d276ea3558e2ac0672a3340301d2dec6d5cf321b (patch) | |
| tree | e1da48c6265c1e6a311a5375010061805e58190a | |
| parent | 15c02eb82896b94fbc183608e39e16661abfb882 (diff) | |
Set debug working directory for slangc.exe (#4513)
This commit changes the working directory setting in Visual Studio
Debugging from "build" directory to the root of the repository.
It is often the case that the users debug slang shaders under "tests"
directory, and the working directory needs to be manually changed to
the root directory of the repository.
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 526b65aa2..496402d54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -316,6 +316,7 @@ if(SLANG_ENABLE_SLANGC) source/slangc EXECUTABLE USE_FEWER_WARNINGS + DEBUG_DIR ${slang_SOURCE_DIR} LINK_WITH_PRIVATE core slang Threads::Threads INSTALL ) |
