I'm generating Visual Studio project files from an external build system, and would like to continue using that system to build my project. I can do per-file or per-target compiles using it. However, I'd like to have full Intellisense available in the IDE.
If I create the project as a nmake project, I can enter my target build commands and global intellisense options. But I have no way to override things like defines per-file, as I could if it was a App/DLL/Library project. Is there a way to override the intellisense settings per-file?
Alternatively, is there any way to override the build commands used for a target (whether single source file or the entire project), even if it's set up as a ClCompile?