-
- Downloads
cmLocalGenerator: Clarify GetIncludeFlags signature
Make the `config` argument non-optional so all callers must be explicit. Convert the path style argument to an enumeration to make its role clear at call sites. The path style argument is implemented by `ConvertToIncludeReference`, which was introduced with the Ninja generator by commit 5b114c9b (Introduce a cmLocalGenerator::ConvertToIncludeReference function, 2011-09-07, v2.8.7~187^2~4). Its only purpose is to allow the Ninja generator to use relative paths in `-I` flags. Add a comment explaining this role.
Showing
- Source/cmExtraSublimeTextGenerator.cxx 2 additions, 1 deletionSource/cmExtraSublimeTextGenerator.cxx
- Source/cmGlobalXCodeGenerator.cxx 6 additions, 2 deletionsSource/cmGlobalXCodeGenerator.cxx
- Source/cmLocalGenerator.cxx 6 additions, 6 deletionsSource/cmLocalGenerator.cxx
- Source/cmLocalGenerator.h 19 additions, 11 deletionsSource/cmLocalGenerator.h
- Source/cmLocalNinjaGenerator.cxx 3 additions, 3 deletionsSource/cmLocalNinjaGenerator.cxx
- Source/cmLocalNinjaGenerator.h 3 additions, 3 deletionsSource/cmLocalNinjaGenerator.h
- Source/cmMakefileTargetGenerator.cxx 4 additions, 3 deletionsSource/cmMakefileTargetGenerator.cxx
- Source/cmNinjaTargetGenerator.cxx 8 additions, 6 deletionsSource/cmNinjaTargetGenerator.cxx
- Source/cmake.cxx 1 addition, 1 deletionSource/cmake.cxx
Loading
Please register or sign in to comment