mirror of
https://github.com/reactos/CMake.git
synced 2025-02-28 16:05:38 +00:00

In vs2010 a bad project file could be generated if a .c or .cxx file was marked with HEADER_FILE_ONLY, if it was in a library that contained both c and c++ code. This fixes the error in the code, and adds a test for this case.