[Gambas-user] any way to set variable macros like C, ?
Fabien Bodard
gambas.fr at gmail.com
Thu Jul 19 17:31:04 CEST 2018
Well if 20 line is too hard... then write the path by hand
Le jeu. 19 juil. 2018 17:04, PICCORO McKAY Lenz <mckaygerhard at gmail.com> a
écrit :
> umm seems whe are reinventing the "cmake" wheel.. sound too much
> complicated for a single need!
>
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2018-07-19 10:23 GMT-04:00 Fabien Bodard <gambas.fr at gmail.com>:
>
>> You
>>
>> Le jeu. 19 juil. 2018 16:07, PICCORO McKAY Lenz <mckaygerhard at gmail.com>
>> a écrit :
>>
>>> 2018-07-19 9:20 GMT-04:00 Fabien Bodard <gambas.fr at gmail.com>:
>>> > Don't forget that the file must be outputed as a new file for not
>>> pollute
>>> > the original one
>>>
>>> god! DAMN!
>>>
>> You must act like gb scripter do.
>>
>> Your compiler must make a copy of the complete project dir in a temp path
>>
>> Then parse all the sources files to replace the values
>>
>> Then compile the temps project
>> And output the compiled bin where you want. ( gbc + gba)
>>
>> Its matter of 20 line in a beautiful gambas script.
>>
>> 😊
>>
>> So with your script you can say then
>>
>> ./mycompscript path='/usr/bin/Maurice' out=myprog.gambas
>> ~/picoro/projects/myprog
>>
>>
>>
>> ----[ 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/ae18b765/attachment.html>
More information about the User
mailing list