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
commit7f24d71b8ce3a60119e7ce764f5fcccd6cdd70a2 (patch)
tree2920af22c2a4d7808be675d4c27086a5277da74f
parent3d36e6dea5a2ab0e3acf556845691a1201b68657 (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' --HG-- branch : WDS-build
-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 --