diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-11-14 12:34:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 20:34:18 -0800 |
| commit | 7b570feed42976a6e787d79a70aaf8e667745e58 (patch) | |
| tree | 7f96139f9570de1e2c5747faf6ad489e029de535 /tools/slang-test | |
| parent | fdf106b543c756eebca7e90fe839fdf1902cc381 (diff) | |
Correct include dir for libslang (#5539)
This stops adding the repo root to the include path for anything linking
with slang. This enabled a bunch of convenient includes, but might lead
to confusing behavior for anyone including slang. Not to mention
differences including it from an install vs source.
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/slang-test')
| -rw-r--r-- | tools/slang-test/slang-test-main.cpp | 4 | ||||
| -rw-r--r-- | tools/slang-test/test-reporter.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/slang-test/slang-test-main.cpp b/tools/slang-test/slang-test-main.cpp index bdc7a082b..ae6eb6216 100644 --- a/tools/slang-test/slang-test-main.cpp +++ b/tools/slang-test/slang-test-main.cpp @@ -17,7 +17,7 @@ #include "../../source/core/slang-token-reader.h" #include "../../source/core/slang-type-text-util.h" #include "slang-com-helper.h" -#include "tools/unit-test/slang-unit-test.h" +#include "unit-test/slang-unit-test.h" #undef SLANG_UNIT_TEST #include "../../source/compiler-core/slang-artifact-associated-impl.h" @@ -32,7 +32,7 @@ #include "test-reporter.h" #define STB_IMAGE_IMPLEMENTATION -#include "external/stb/stb_image.h" +#include "stb_image.h" #include <math.h> #include <stdarg.h> diff --git a/tools/slang-test/test-reporter.h b/tools/slang-test/test-reporter.h index 8e7b73c67..bf95803b5 100644 --- a/tools/slang-test/test-reporter.h +++ b/tools/slang-test/test-reporter.h @@ -7,7 +7,7 @@ #include "../../source/core/slang-platform.h" #include "../../source/core/slang-std-writers.h" #include "../../source/core/slang-string-util.h" -#include "tools/unit-test/slang-unit-test.h" +#include "unit-test/slang-unit-test.h" #include <mutex> |
