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:
parent
52ea1ea63a
commit
7beac1b0b0
|
|
@ -57,7 +57,7 @@ function m.generateproject(liboutdir, intdir)
|
|||
end
|
||||
|
||||
function m.link()
|
||||
externalincludedirs
|
||||
includedirs
|
||||
{
|
||||
path.join(rootdir, "flac/include"),
|
||||
path.join(rootdir, "flac/src/libFLAC/include"),
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ function m.generateproject(liboutdir, intdir)
|
|||
end
|
||||
|
||||
function m.link()
|
||||
externalincludedirs{path.join(rootdir, "freetype/include")}
|
||||
includedirs{path.join(rootdir, "freetype/include")}
|
||||
links {"freetype"}
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -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\"" }
|
||||
|
||||
externalincludedirs { path.join(rootdir, "imgui-sfml") }
|
||||
includedirs { path.join(rootdir, "imgui-sfml") }
|
||||
|
||||
sfml.link()
|
||||
end
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ end
|
|||
function m.link()
|
||||
links {"imgui"}
|
||||
|
||||
externalincludedirs { path.join(rootdir, "imgui") }
|
||||
includedirs { path.join(rootdir, "imgui") }
|
||||
end
|
||||
|
||||
return m
|
||||
|
|
@ -22,7 +22,7 @@ end
|
|||
|
||||
function m.link()
|
||||
links{"ogg"}
|
||||
externalincludedirs{path.join(rootdir, "ogg/include")}
|
||||
includedirs{path.join(rootdir, "ogg/include")}
|
||||
end
|
||||
|
||||
return m
|
||||
|
|
@ -97,7 +97,7 @@ end
|
|||
|
||||
function m.link()
|
||||
defines{"SFML_STATIC"}
|
||||
externalincludedirs
|
||||
includedirs
|
||||
{
|
||||
path.join(rootdir, "SFML/include"),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ end
|
|||
function m.link()
|
||||
links {"vorbis"}
|
||||
ogg.link()
|
||||
externalincludedirs
|
||||
includedirs
|
||||
{
|
||||
path.join(rootdir, "vorbis/include"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue