I am developing a DSL with my graphics editor. Such files have the extension .own. I also have a small tool that compiles .own files to .h files.
X.own → Xh and X / *. h
I wrote a simple .rules file to run the generation.
My problem is this : Most of my source files include Xh, but a change in X.own does not mean that the generated Xh (or any other generated file) will be different. This is handled by the generator using temporary files and file comparisons. But Visual Studio doesn't seem to know how to handle all this. If I set the "output file (s)" property to the right file (s), it always assumes that they will be changed. If I do not, it generates a build process, assuming there will be none!
How can I fix it?
1) Run the custom build tool
2) Calculate the build process based on dependencies
jheriko answer , , . , "custom build tools",
(, , ), " ". , , - , , , . ( , , , ), , , .
: Incredibuild, , , .
, ( , ). , MSVS . , , .h .
, , , - , , . (, .exe , , ..)
, ,