Support generating NMake/Jom-style depfiles.
NMake is a Make-like builder that comes with Microsoft Visual Studio. Jom (https://wiki.qt.io/Jom) is an NMake-compatible build tool. Dependency files for NMake/Jom need to use double-quotes to wrap filespecs containing special characters, instead of the backslash escapes that GNU Make wants. Adds the -MV option, which specifies to use double-quotes as needed instead of backslash escapes when writing the dependency file. Differential Revision: http://reviews.llvm.org/D9260 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235903 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/UsersManual.rst 19 additions, 0 deletionsdocs/UsersManual.rst
- include/clang/Driver/Options.td 2 additions, 0 deletionsinclude/clang/Driver/Options.td
- include/clang/Frontend/DependencyOutputOptions.h 8 additions, 1 deletioninclude/clang/Frontend/DependencyOutputOptions.h
- lib/Driver/Tools.cpp 1 addition, 0 deletionslib/Driver/Tools.cpp
- lib/Frontend/CompilerInvocation.cpp 2 additions, 0 deletionslib/Frontend/CompilerInvocation.cpp
- lib/Frontend/DependencyFile.cpp 23 additions, 5 deletionslib/Frontend/DependencyFile.cpp
- test/Frontend/dependency-gen-escaping.c 9 additions, 0 deletionstest/Frontend/dependency-gen-escaping.c
Loading
Please register or sign in to comment