[PATCH] D112787: [Support] Allow configuring the preferred type of slashes on Windows
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 4 14:17:40 PDT 2021
mstorsjo added inline comments.
================
Comment at: llvm/CMakeLists.txt:357
+set(WINDOWS_PREFER_FORWARD_SLASH_DEFAULT OFF)
+if (MINGW)
+ set(WINDOWS_PREFER_FORWARD_SLASH_DEFAULT ON)
----------------
aaron.ballman wrote:
> Should this also happen for cygwin?
I think cygwin shouldn't matter here - cygwin mostly presents itself as a unix; it doesn't define `_WIN32` when compiling etc, so on cygwin you'd get the posix path style.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112787/new/
https://reviews.llvm.org/D112787
More information about the llvm-commits
mailing list