This repository has been archived by the owner on Feb 4, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix source file duplication in command line
Previously, if the /Tp or /Tc option were passed, clcache would duplicate the source file in the command line, making MSVC think that it was compiling two separate files (/Tcexample.c and example.c), when it was really compiling one. The problem with this was that MSVC only allows some options if it is compiling one file, which caused some invocations of clcache to fail.
- Loading branch information
Showing
3 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters