PDA

View Full Version : command line build options - path variable?



jameswnl
06-07-2004, 02:48 PM
Hi there,

I am building the project using "isCmdBld".

I wonder if I can pass it the option of a path variable?

Our nightly build system has outputs in a folder named by date, eg. 2004-06-07

In my project file, I have a path var <SRC_ROOT> which is then need to be updated daily to grab from the latest nightly build.

I search the helpnet and found that the Universal installer has this option and wonder if Windows installer comes with it?

thanks

David Thornley
06-08-2004, 08:59 AM
There is no command line option, however you could base your path variable on an environment variable. Then as a part of your build process use the SET command to set the environment variable.

jameswnl
06-08-2004, 09:02 AM
you mean, I can, eg.

set SRC_ROOT="x:\2004-06-8"
and then run the build?

David Thornley
06-08-2004, 09:08 AM
Yep. But you first need to set the path variable type to "Environment" in the IDE.

jameswnl
06-08-2004, 01:28 PM
It works.

Thx!