[Laszlo-user] setting variables at build time with lzc

Henry Minsky henry.minsky at gmail.com
Fri Jan 4 21:26:03 PST 2008


Might as well file a feature request, having a way to pass some small
data in from the command line
would probably be useful it some point.

What people have done  in order to bake stuff into an app is to
include a  static dataset in the app which refers to a file on disk,
and then
rewrite that data file with custom data before compiling.



On Jan 5, 2008 12:19 AM, andrew m. boardman <amb at mit.edu> wrote:
>
> > The compiler options passed in via the -D... command line args are
> > eaten by the compiler, they aren't passed through as key/values into
> > the compiled app code.
>
> Oh!  That would explain our confusion; thanks for the quick reply.
>
> In this case it had looked like a nice way to compile in some build
> information (timestamp/version/repository/etc.), but doing something
> file-based is certainly workable as well.
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-user mailing list