Merge pull request #1023 from Gaztin/codelite-libdirs
Include library directories in Codelite projects
This commit is contained in:
commit
36a77d26e8
@ -224,6 +224,9 @@
|
||||
|
||||
_x(3, '<Linker Required="yes" Options="%s">', table.concat(flags, ";"))
|
||||
|
||||
for _, libdir in ipairs(cfg.libdirs) do
|
||||
_p(4, '<LibraryPath Value="%s"/>', project.getrelative(cfg.project, libdir))
|
||||
end
|
||||
_p(3, '</Linker>')
|
||||
end
|
||||
|
||||
|
@ -93,6 +93,8 @@
|
||||
codelite.project.linker(cfg)
|
||||
test.capture [[
|
||||
<Linker Required="yes" Options="">
|
||||
<LibraryPath Value="test"/>
|
||||
<LibraryPath Value="test2"/>
|
||||
</Linker>
|
||||
]]
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user