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:
- Software.exa should run only if the image
- depends on the software.exe (but the image No)
- Image depends on tool.exe and other data files
- 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
Post a Comment