Skip to content

Commit

Permalink
Added frameworkdirs option.
Browse files Browse the repository at this point in the history
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" }
  • Loading branch information
narendraumate committed Nov 9, 2015
1 parent 1ebb231 commit 2649b7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/xcode/xcode_common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 6 additions & 0 deletions src/base/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@
linkagecopy = true,
},

frameworkdirs =
{
kind = "dirlist",
scope = "config",
},

linkoptions =
{
kind = "list",
Expand Down

0 comments on commit 2649b7e

Please sign in to comment.