Author Topic: Build window  (Read 9412 times)

slicker

  • Community Member
  • Posts: 12
  • Hero Points: 0
Re: Build window
« Reply #15 on: August 16, 2007, 09:38:33 am »
Another way to undo environment variable changes is to run you .bat file in a nested instance of the shell:

   "cmd.exe xx.bat"

Where should I put this command in? Thanks.

chip.dip

  • Community Member
  • Posts: 18
  • Hero Points: 1
Re: Build window
« Reply #16 on: August 16, 2007, 07:22:14 pm »
Quote
The way we build our software involves running a .bat file to setup the env var, then execute make to build.

When you run the .bat file to setup the env var's, do it with cmd.exe (without /C).  This will leave you in a subshell while you run your builds.

When you want to clean up the environment, just type exit in the build window.  This will back out of the subshell and discard the env. changes.

In your build window:

cmd  xx.bat

build
build
build
...
exit
change workspace.
cmd yy.bat
build.........etc