Board index » cppbuilder » CFG and environment variables
vOLKi
CBuilder Developer |
vOLKi
CBuilder Developer |
CFG and environment variables2004-09-23 12:16:29 PM cppbuilder6 Hi, Does bcc55 accepts environment variables in ".cfg" files? For example bcc32.cfg. If, how? Regards |
Rolf Ackermann
CBuilder Developer |
2004-09-23 04:04:27 PM
Re:CFG and environment variables
Hi Volki
QuoteHi, Regards Rolf (aka spieler67) Quote>>>> -Hc -H=$(WXDIR)\src\msw\wx32.csm -3 -d -a4 # dword alignment -R- -X -w-par -w-aus -w-hid # virtual function A hides virtual function B -tWM -tWC -I$(ARCHINCDIR);$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/tiff;$(THISDIR) -I$(WXDIR)\include\wx\msw\gnuwin32 -L$(BCCDIR)\lib;$(BCCDIR)\lib\psdk -D__WXWIN__ -D__WXMSW__ -D__WINDOWS__ -DWIN32 $(OPT) $(DEBUG_FLAGS) $(WIN95FLAG) ! $(CFG) <<<<< |
vOLKi
CBuilder Developer |
2004-09-24 05:45:25 AM
Re:CFG and environment variables
Hi,
Rolf Ackermann wrote: QuoteHere is an example from a wxWidgets .b32 file (www.wxwidgets.org). Hope -------------------------- bcc32.cfg--------------------- -I"$(stlport)";"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib;c:\Borland\Bcc55\Lib\PSDK" --------------------------------------------------------- is wrong but is there such way? For example, Open Watcom 1.0 has a different syntax: $(%stlport) so, thought, maybe bcc55 has a different syntax for this cfg at least. Regards {smallsort} |
Rolf Ackermann
CBuilder Developer |
2004-09-24 03:41:45 PM
Re:CFG and environment variables
Hi VOLKI
Quote
MYMAKEVAR="$(MYENVVAR)" and then put the make variable into the string like this: -I$(MYMAKEVAR);c:\Borland\Bcc55\include Regards Rolf (aka spieler67) |
Hans-Bernhard Broeker
CBuilder Developer |
2004-09-24 06:17:16 PM
Re:CFG and environment variables
vOLKi < XXXX@XXXXX.COM >wrote:
QuoteHi, the *default* configuration. If you want to use settings that change over time, you should override them on the command line or in a copy of the main .cfg file tailored to your project. -- Hans-Bernhard Broeker ( XXXX@XXXXX.COM ) Even if all the snow were burnt, ashes would remain. |
vOLKi
CBuilder Developer |
2004-09-26 08:02:44 AM
Re:CFG and environment variables
Hi,
Sorry for this delay. Big thanks for sharing your ideas and experiences. In fact yes that cfg is for persisted preferences. But one thought something and wish. Then thought, this is not so preferable. But, wonder i missed something and this is to place for sharing experiences. Thank you again for interesting with my problem. Happy coding. Best Regards |