From 70ddafef74781ea3bdeea1b540e1cc150b075885 Mon Sep 17 00:00:00 2001 From: Sebastian Kylander Date: Mon, 26 Mar 2018 15:43:51 +0200 Subject: [PATCH 1/2] List libdirs in codelite projects --- modules/codelite/codelite_project.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/codelite/codelite_project.lua b/modules/codelite/codelite_project.lua index 11f35965..c2f5f7dc 100755 --- a/modules/codelite/codelite_project.lua +++ b/modules/codelite/codelite_project.lua @@ -224,6 +224,9 @@ _x(3, '', table.concat(flags, ";")) + for _, libdir in ipairs(cfg.libdirs) do + _p(4, '', project.getrelative(cfg.project, libdir)) + end _p(3, '') end From 37045dc3cedb198df13d9b18e75516eb46d1e974 Mon Sep 17 00:00:00 2001 From: Sebastian Kylander Date: Mon, 26 Mar 2018 15:44:40 +0200 Subject: [PATCH 2/2] Add test for codelite libdirs --- modules/codelite/tests/test_codelite_config.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codelite/tests/test_codelite_config.lua b/modules/codelite/tests/test_codelite_config.lua index b00500d7..960fdaa3 100644 --- a/modules/codelite/tests/test_codelite_config.lua +++ b/modules/codelite/tests/test_codelite_config.lua @@ -93,6 +93,8 @@ codelite.project.linker(cfg) test.capture [[ + + ]] end