Where to put externals so IDE finds them?

Paul D. DeRocco pderocco at ix.netcom.com
Wed Nov 6 01:57:19 EST 2013


> From: Monte Goulding
> 
> >> My LiveCode /
> >> 	Externals/
> > 		-- put them here for IDE support along with the 
> externals.txt file
> >> 	Runtime/
> >> 		Windows/
> >> 			x86-32/
> >> 				Externals/
> >> 		Mac OS X/
> >> 			Universal/
> >> 				Externals/
> >> 			PowerPC-32/
> >> 				Externals/
> >> 			x86-32/
> >> 				Externals/ 

Thanks. Putting it in the first Externals folder seems to work fine.

So what about those other folders? Does a standalone automatically find
and load all externals that are stored there (under the appropriate
architecture) with no need to list them as stack properties, or does the
standalone build system automatically find them there and copy them into
the output packages, or what?

I'm a little confused because the Property Inspector only allows us to set
a full path in the externals property, so that implies there is no "search
path" used by the standalone. Also, it can only be set to one particular
file name, which doesn't port between platforms. So in order to get my
standalones to find their externals no matter where they're put, I've
taken to using the "startup" handler to set the properties inspector to
the name of the DLL or bundle (based on the platform) with a relative
path, so that the external can be moved around with the application. How
do the above folders fit into that scheme?

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com 





More information about the use-livecode mailing list