aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-11-11 17:13:29 +0000
committerSergio Martins <smartins@kde.org>2018-11-11 17:13:29 +0000
commitbbc708b3ff343bda05cb5fba74999cca7b273059 (patch)
tree9f34c9c9bc71da0f3f76c6395090a70af493f0bc
parentfbc245d3ddedf648b21b94194a6227c0492f1fa2 (diff)
Readme: Improve instructions for running on Windows
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2c813e79..2ab6933e 100644
--- a/README.md
+++ b/README.md
@@ -192,10 +192,13 @@ and rebuild.
To make it the compiler for qmake projects, just run qmake like:
`qmake -spec linux-clang QMAKE_CXX="clazy"`
+On Windows with MSVC it's simply: `qmake QMAKE_CXX="clazy-cl.bat"`
+
Alternatively, if you want to use clang directly, without the wrapper:
`qmake -spec linux-clang QMAKE_CXXFLAGS="-Xclang -load -Xclang ClangLazy.so -Xclang -add-plugin -Xclang clang-lazy"`
-You can also edit mkspecs/common/clang.conf and change QMAKE_CXX to clazy instead of clang++ and run qmake -spec linux-clang
+On Windows it's similar, just inspect the contents of `clazy-cl.bat`.
+
It's recommended that you disable pre-compiled headers and don't use ccache.