Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Mulder <rjmyst3@gmail.com>2013-12-13 01:36:46 +0400
committerRyan Mulder <rjmyst3@gmail.com>2013-12-13 01:36:46 +0400
commit926c32fbacf45335d2ab241e258a7d6f3b9a858e (patch)
tree6eda329401f1662d0fc26b8a4fc66f67ded90170
parent0a62c8146a252c89a813fcf8d3bf7b6851195a97 (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.lua5
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 --