changed externalincludedirs to regular includedirs so that the export compile commands action will properly list the include arguments so that clangd can see what should be included for each file

This commit is contained in:
Joseph Aquino 2025-12-31 18:31:12 -05:00
parent 52ea1ea63a
commit 7beac1b0b0
7 changed files with 7 additions and 7 deletions

View File

@ -57,7 +57,7 @@ function m.generateproject(liboutdir, intdir)
end end
function m.link() function m.link()
externalincludedirs includedirs
{ {
path.join(rootdir, "flac/include"), path.join(rootdir, "flac/include"),
path.join(rootdir, "flac/src/libFLAC/include"), path.join(rootdir, "flac/src/libFLAC/include"),

View File

@ -89,7 +89,7 @@ function m.generateproject(liboutdir, intdir)
end end
function m.link() function m.link()
externalincludedirs{path.join(rootdir, "freetype/include")} includedirs{path.join(rootdir, "freetype/include")}
links {"freetype"} links {"freetype"}
end end

View File

@ -31,7 +31,7 @@ function m.config() -- use this in build imgui instead of link() to avoid circul
defines { "IMGUI_USER_CONFIG=\"imconfig-SFML.h\"" } defines { "IMGUI_USER_CONFIG=\"imconfig-SFML.h\"" }
externalincludedirs { path.join(rootdir, "imgui-sfml") } includedirs { path.join(rootdir, "imgui-sfml") }
sfml.link() sfml.link()
end end

View File

@ -30,7 +30,7 @@ end
function m.link() function m.link()
links {"imgui"} links {"imgui"}
externalincludedirs { path.join(rootdir, "imgui") } includedirs { path.join(rootdir, "imgui") }
end end
return m return m

View File

@ -22,7 +22,7 @@ end
function m.link() function m.link()
links{"ogg"} links{"ogg"}
externalincludedirs{path.join(rootdir, "ogg/include")} includedirs{path.join(rootdir, "ogg/include")}
end end
return m return m

View File

@ -97,7 +97,7 @@ end
function m.link() function m.link()
defines{"SFML_STATIC"} defines{"SFML_STATIC"}
externalincludedirs includedirs
{ {
path.join(rootdir, "SFML/include"), path.join(rootdir, "SFML/include"),
} }

View File

@ -71,7 +71,7 @@ end
function m.link() function m.link()
links {"vorbis"} links {"vorbis"}
ogg.link() ogg.link()
externalincludedirs includedirs
{ {
path.join(rootdir, "vorbis/include"), path.join(rootdir, "vorbis/include"),
} }