Objective: I have a list of header files (about 50 of them), And each header-file has few arrays with constant elements. I need to write a program to count the elements of the array. And create some other form of output (which will be used by the hardware group).
My solution: I included all the 50 odd files and wrote an application. And then I dumped all the elements of the array into the specified format.
My environment: Visual Studio V6, Windows XP
My problem: Each time there is a new set of Header files, I am now changing the VC++ project settings to point to the new set of header files, and then rebuild.
My question:
A bit in-sane though,
- Is there any way to mention the header from some command line arguments or something?
- I just want to avoid re-compiling the source every time...