How to build and run a data-generating tool in a Visual Studio build? -


My main project creates some software that requires a data file ('image' below). This image comes from another program, which I can create in any other project. I want to automate all of these in a Visual Studio (2008) solution.

In the summary I have the following dependencies:

  1. Software.exa should run only if the image
  2. depends on the software.exe (but the image No)
  3. Image depends on tool.exe and other data files
  4. tool.exe depends on Tool.c

Attempted to add a post build event to .vcproj, which runs the tool.exa. It works, except that it does not auto-execute the tool.exe if the image is unavailable or other data files have changed.

Suggestions?


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -