[Gambas-user] any way to set variable macros like C, ?

Fabien Bodard gambas.fr at gmail.com
Thu Jul 19 09:51:10 CEST 2018


Le mer. 18 juil. 2018 17:54, PICCORO McKAY Lenz <mckaygerhard at gmail.com> a
écrit :

> too dificult to undesrtand? like Makefiles does when parsing a
> variable to C sources
>
> i want to by example set PREFIX and then sources at compile time uses
> in each directory path
>

..i understand the way but not the need.

Why do you want to use a hard coded path ?

My query to Benoît was more for an inline macro definition... like C. But
for your problem i dont seen the need




Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
>
> 2018-07-18 10:44 GMT-04:00 Fabien Bodard <gambas.fr at gmail.com>:
> > Can  be more precise ?  (in good english please)
> >
> > Le mar. 17 juil. 2018 à 22:28, PICCORO McKAY Lenz <
> mckaygerhard at gmail.com> a
> > écrit :
> >>
> >> cannot be done that? its' not only about directories, and
> >> application.dir are so limited to a absolute path
> >>
> >> i expant that example now: i need a PREFIX not a PATH that's why i ask!
> >> Lenz McKAY Gerardo (PICCORO)
> >> http://qgqlochekone.blogspot.com
> >>
> >>
> >> 2018-07-17 8:14 GMT-04:00 PICCORO McKAY Lenz <mckaygerhard at gmail.com>:
> >> > 2018-07-17 0:50 GMT-04:00 Fabien Bodard <gambas.fr at gmail.com>:
> >> >> You have Application.Dir for that no ?
> >> > its' not only about directories, and application.dir are so limited to
> >> > that only path
> >> >
> >> > i expant that example now: i need a PREFIX not a PATH that's why i
> ask!
> >> >
> >> > in other way, as example i need a alternate name for lauch executable
> >> > etc!
> >> >
> >> >>
> >> >> Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz
> >> >> <mckaygerhard at gmail.com> a
> >> >> écrit :
> >> >>>
> >> >>> i want to set dinamycally installation path when user compile from
> >> >>> sources by command line..
> >> >>>
> >> >>> by example set Dim confdir = INSTALLDIR + "/etc/" but at the source
> >> >>> class file, where "INSTALLDIR are the macro variable from compile
> time
> >> >>>
> >> >>> any way to do this?
> >> >>>
> >> >>>
> >> >>> Lenz McKAY Gerardo (PICCORO)
> >> >>> http://qgqlochekone.blogspot.com
> >> >>>
> >> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
> >> >>> ]----
> >> >>
> >> >>
> >> >>
> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
> >> >> ]----
> >> >>
> >>
> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
> ]----
> >
> >
> >
> > --
> > Fabien Bodard
> >
> >
> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> >
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180719/003332e8/attachment-0001.html>


More information about the User mailing list