From a9a71331d613984f1586837edc366d460b5fe3d7 Mon Sep 17 00:00:00 2001 From: madeline Date: Sat, 4 Apr 2026 22:22:18 -0700 Subject: [PATCH] fix .clangd on vscode --- CMakeLists.txt | 1 + compile_flags.txt | 12 ++++++++++++ extern/aurora | 2 +- libs/freeverb/CMakeLists.txt | 4 ---- src/dusk/audio/DuskDsp.hpp | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 compile_flags.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 272ff76db3..a8a861514f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,6 +106,7 @@ target_include_directories(game_debug PUBLIC src assets/${DUSK_TP_VERSION} libs/JSystem/include + libs extern/aurora/include/dolphin extern ${CMAKE_SOURCE_DIR}/build/${DUSK_TP_VERSION}/include diff --git a/compile_flags.txt b/compile_flags.txt new file mode 100644 index 0000000000..120832b8cb --- /dev/null +++ b/compile_flags.txt @@ -0,0 +1,12 @@ +--std=c++20 +-DTARGET_PC +-DAVOID_UB=1 +-DVERSION=0 +-Iinclude +-Isrc +-Ilibs/JSystem/include +-Ilibs +-Iextern/aurora/include/dolphin +-Iextern/aurora/include +-Iextern +-Ibuild/GZ2E01/include diff --git a/extern/aurora b/extern/aurora index b17da31593..37631c3bf3 160000 --- a/extern/aurora +++ b/extern/aurora @@ -1 +1 @@ -Subproject commit b17da315932b85d7d708eaf3e44914f70045a44e +Subproject commit 37631c3bf382c1564d3f29c4c3f2dc6cf7617fa9 diff --git a/libs/freeverb/CMakeLists.txt b/libs/freeverb/CMakeLists.txt index c4f4d4ed95..c0c12da293 100644 --- a/libs/freeverb/CMakeLists.txt +++ b/libs/freeverb/CMakeLists.txt @@ -7,7 +7,3 @@ add_library(freeverb allpass.cpp revmodel.cpp ) - -target_include_directories(freeverb PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR} -) diff --git a/src/dusk/audio/DuskDsp.hpp b/src/dusk/audio/DuskDsp.hpp index 036a4bb9f0..728234b75c 100644 --- a/src/dusk/audio/DuskDsp.hpp +++ b/src/dusk/audio/DuskDsp.hpp @@ -8,7 +8,7 @@ #include "SDL3/SDL_audio.h" #include -#include "revmodel.hpp" +#include "freeverb/revmodel.hpp" // ReSharper disable once CppUnusedIncludeDirective #include "global.h"