View previous topic :: View next topic |
Author |
Message |
smithfox
Joined: 19 Apr 2007 Posts: 3
|
Posted: Thu Apr 19, 2007 9:01 am Post subject: How to set/use variable in Response File(BRF) |
|
|
I want to write a build Response File, other people only need to modify a profile file on others machine.
Now:
dayudict/main.d
-T..\dayudict.exe
-cleanup
-op
-gui
comctl32_dwt.lib
comdlg32_dwt.lib
-IC:\opensource\dwt\import
-LIBPATH=C:\develop\d\dmd\lib;C:\develop\d\dm\lib;C:\opensource\dwt\lib
I want to write as:
dayudict/main.d
-T..\dayudict.exe
-cleanup
-op
-gui
comctl32_dwt.lib
comdlg32_dwt.lib
-I%DWT_HOME%
-LIBPATH=%DMD_HOME%\lib;%DM_HOME%\lib;%DWT_HOME%\lib |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Thu Apr 19, 2007 6:41 pm Post subject: Re: How to set/use variable in Response File(BRF) |
|
|
smithfox wrote: | I want to write a build Response File
I want to write as:
dayudict/main.d
-T..\dayudict.exe
-cleanup
-op
-gui
comctl32_dwt.lib
comdlg32_dwt.lib
-I%DWT_HOME%
-LIBPATH=%DMD_HOME%\lib;%DM_HOME%\lib;%DWT_HOME%\lib |
That should work. Have you tried that and it doesn't work? _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
smithfox
Joined: 19 Apr 2007 Posts: 3
|
Posted: Thu Apr 19, 2007 6:49 pm Post subject: |
|
|
Thank your response.
Yes I tried it. It didn't work.
make.bat
---------------
set DM_HOME=C:\develop\d\dm
set DMD_HOME=C:\develop\d\dmd
set DWT_HOME=C:\opensource\dwt
bud @build
build.brf
---------------
.......
-I%DWT_HOME%
-LIBPATH=%DMD_HOME%\lib;%DM_HOME%\lib;%DWT_HOME%\lib
It couldn't find all lib, but if I replace %DWT_HOME% with "C:\opensource\dw", It is nomarly. |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Thu Apr 19, 2007 7:18 pm Post subject: |
|
|
Oops! You are correct. Lines from a BRF file are not examined for environment symbols, only the lines from the DMD configuration file and lines from a Bud configuration file are examined.
I had better fix this and get the next release out ASAP. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
smithfox
Joined: 19 Apr 2007 Posts: 3
|
Posted: Thu Apr 19, 2007 7:37 pm Post subject: |
|
|
Thank your great job!
I wait for next release. |
|
Back to top |
|
|
|