GENie icon indicating copy to clipboard operation
GENie copied to clipboard

Multiple files with the same name

Open pps83rbx opened this issue 6 years ago • 1 comments

If I have two files in my project with the same name GENie should make sure that VS doesn't compile them both to the same file.

For example, I have codec/audio.cpp and format/audio.cpp in my project, and both of them are compiled to $(IntDir)/audio.obj. Obviously one overwrites the other. In VS usually you set output obj file name to fix that, but GENie has to handle that automatically.

pps83rbx avatar Feb 02 '19 10:02 pps83rbx

The code seems to detect and handle that case. See starting here: https://github.com/bkaradzic/GENie/blob/8c03169526fd6a92cfa77ccd8fae25347bf3037b/src/actions/vstudio/vstudio_vcxproj.lua#L1236

Do you have a case where it's not behaving as expected?

fitzymj avatar Feb 02 '19 20:02 fitzymj