364
edits
(initial edit) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
An m-file function used in support of [[Create_a_MacOS_X_App_Bundle_Using_MacPorts|creating a MacOS X App bundle]]. | An m-file function used in support of [[Create_a_MacOS_X_App_Bundle_Using_MacPorts|creating a MacOS X App bundle]]. | ||
< | <source lang="octave">## Copyright (C) 2012 Ben Abbott | ||
## | ## | ||
## This program is free software; you can redistribute it and/or modify | ## This program is free software; you can redistribute it and/or modify | ||
Line 21: | Line 21: | ||
## | ## | ||
## Recursively finds all dylibs in @var{directory}, and returns a structure | ## Recursively finds all dylibs in @var{directory}, and returns a structure | ||
## with fields @code{name}, @code{location}, and @code{dependents}. | ## with fields @code{name}, @code{location}, and @code{dependents}. The | ||
## @var{directory} defaults to the present working directory. | |||
## | ## | ||
## @table | ## @table | ||
Line 29: | Line 30: | ||
## Is the path to the named dynamic library. | ## Is the path to the named dynamic library. | ||
## @item @code{dependents} | ## @item @code{dependents} | ||
## Is a cellstr array listing the dynamic libraries the named library depends upon. | ## Is a cellstr array listing the dynamic libraries the named library | ||
## depends upon. | |||
## @item @code{islink} | |||
## Logical scalar indicating whether the file is a symbolic link to a | |||
## dynamically loadable library. | |||
## @end table | ## @end table | ||
## | ## | ||
Line 105: | Line 110: | ||
end_unwind_protect | end_unwind_protect | ||
endfunction</ | endfunction</source> |
edits