-
- Downloads
Ninja: Detect MSVC /showIncludes prefix with compiler flags (#15596)
Move detection over to the compiler id logic where we have already constructed the list of compiler flags from ARG1 and CMAKE_<LANG>_FLAGS. Pass the flags when we execute "cl" with "/showIncludes". Also pass "/c" because we only need to compile, not link. Check the compiler process exit code before trusting its output.
Showing
- Modules/CMakeCCompiler.cmake.in 5 additions, 2 deletionsModules/CMakeCCompiler.cmake.in
- Modules/CMakeCXXCompiler.cmake.in 5 additions, 2 deletionsModules/CMakeCXXCompiler.cmake.in
- Modules/CMakeClDeps.cmake 0 additions, 32 deletionsModules/CMakeClDeps.cmake
- Modules/CMakeDetermineCCompiler.cmake 0 additions, 1 deletionModules/CMakeDetermineCCompiler.cmake
- Modules/CMakeDetermineCXXCompiler.cmake 0 additions, 1 deletionModules/CMakeDetermineCXXCompiler.cmake
- Modules/CMakeDetermineCompilerId.cmake 31 additions, 0 deletionsModules/CMakeDetermineCompilerId.cmake
Modules/CMakeClDeps.cmake
deleted
100644 → 0
Please register or sign in to comment