diff options
author | Ryan Mulder <rjmyst3@gmail.com> | 2013-12-13 01:36:46 +0400 |
---|---|---|
committer | Ryan Mulder <rjmyst3@gmail.com> | 2013-12-13 01:36:46 +0400 |
commit | 926c32fbacf45335d2ab241e258a7d6f3b9a858e (patch) | |
tree | 6eda329401f1662d0fc26b8a4fc66f67ded90170 | |
parent | 0a62c8146a252c89a813fcf8d3bf7b6851195a97 (diff) |
Separate sibling and system libraries (as the gmake action does), so the name can be properly formatted for each
Avoids truncation when the name containes a dot, e.g. 'wx_gtk2ud_propgrid-2.8'
-rw-r--r-- | src/actions/codelite/codelite_project.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions/codelite/codelite_project.lua b/src/actions/codelite/codelite_project.lua index c10569e..0d65863 100644 --- a/src/actions/codelite/codelite_project.lua +++ b/src/actions/codelite/codelite_project.lua @@ -95,9 +95,12 @@ for _,v in ipairs(premake.getlinks(cfg, "all", "directory")) do _p(' <LibraryPath Value="%s" />', premake.esc(v)) end - for _,v in ipairs(premake.getlinks(cfg, "all", "basename")) do + for _,v in ipairs(premake.getlinks(cfg, "siblings", "basename")) do _p(' <Library Value="%s" />', premake.esc(v)) end + for _,v in ipairs(premake.getlinks(cfg, "system", "name")) do + _p(' <Library Value="%s" />', premake.esc(v)) + end _p(' </Linker>') -- end linker block -- |