diff options
author | Narendra Umate <narendraumate@gmail.com> | 2015-11-09 08:02:56 +0300 |
---|---|---|
committer | Narendra Umate <narendraumate@gmail.com> | 2015-11-09 08:02:56 +0300 |
commit | 2649b7e72a16344af3d08b44739f4e14aeb7f5a3 (patch) | |
tree | 5d244ed8011af9b0a00104797cf87f623a777082 | |
parent | 1ebb231e5674285010ca1c01e88a30736cccf03e (diff) |
Added frameworkdirs option.
This should now support FRAMEWORK_SEARCH_PATHS in xcode_common.lua.
This will allow frameworks to exist in non sdk paths.
configuration "macosx"
frameworkdirs { "Library/MacOS/SDL2-2.0.3" }
linkoptions { "-framework SDL2" }
-rw-r--r-- | src/actions/xcode/xcode_common.lua | 1 | ||||
-rw-r--r-- | src/base/api.lua | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua index 4d413d4..c8f52e2 100644 --- a/src/actions/xcode/xcode_common.lua +++ b/src/actions/xcode/xcode_common.lua @@ -828,6 +828,7 @@ xcode.printlist(cfg.includedirs, 'HEADER_SEARCH_PATHS') xcode.printlist(cfg.libdirs, 'LIBRARY_SEARCH_PATHS') + xcode.printlist(cfg.frameworkdirs, 'FRAMEWORK_SEARCH_PATHS') _p(4,'OBJROOT = "%s";', cfg.objectsdir) diff --git a/src/base/api.lua b/src/base/api.lua index c11056f..328bdb3 100644 --- a/src/base/api.lua +++ b/src/base/api.lua @@ -241,6 +241,12 @@ linkagecopy = true, }, + frameworkdirs = + { + kind = "dirlist", + scope = "config", + }, + linkoptions = { kind = "list", |