I've got two files (in different directories of course) named State.cpp. When I generate the VS project with the introjucer and try to compile, both of those files clash to the same object file and I get the warning:
Warning 1 warning MSB8027: Two or more files with the name of State.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ..\..\..\audio\State.cpp, ..\..\..\sg\State.cpp.
and then various link errors.
I can correct this easily enough within VS by modifying the Object File Name property on the VS project. However, when I regenerate the project with the Introjucer, that setting gets blown away.
Is there a setting I can use in the Inrojucer's config pages to prevent the clashes? Could the Introjucer generate a project with that property already set to something that doesn't cause clashes?
thanks!