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

PICCORO McKAY Lenz mckaygerhard at gmail.com
Wed Jul 18 17:53:44 CEST 2018


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
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 ]----
>


More information about the User mailing list