0

all!

There are many vc projects in my solution. i can call devenv.exe xxx.sln to build/rebuild all these projects together. Also i can right-click some specific project and rebuild it.

My question: how to do the same thing of "right-click and rebuild" when i use devenv.exe ?

I want to rebuild the same project with different building macro --- setting "PreprocessorDefinitions" in .vcproj

another question: is there a simple way to replace the value of PreprocessorDefinitions in the .vcproj? im now using the python to do this.

Yi Ling
  • 277
  • 3
  • 11

1 Answers1

0

devenv has the command line option /command to run a command on start up: could this be used?

Devenv Command Line Switches

Richard
  • 106,783
  • 21
  • 203
  • 265