aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2019-10-12 09:35:27 +0100
committerSergio Martins <smartins@kde.org>2019-10-12 09:35:27 +0100
commit51a1f0ae1ac0f8a571f72d92796ee88c20b26419 (patch)
treecbbc46be6b8c3246840667a6e91fe419954beadc
parentb0f23a4b23b5bb07d1c505d983762c6455fbe96b (diff)
README: Don't require to build clazy with clang-cl on Windows
MSVC works again
-rw-r--r--README.md3
1 files changed, 0 insertions, 3 deletions
diff --git a/README.md b/README.md
index 149cd059..a735f3e2 100644
--- a/README.md
+++ b/README.md
@@ -111,11 +111,8 @@ Be sure to pass -DLLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON to CMake when building LLVM
### Build clazy
Be sure to point CLANG_LIBRARY_IMPORT to clang.lib. It's probably inside your LLVM build dir since it doesn't get installed.
-We'll build clazy with clang, since MSVC errors-out with "C2026: C++ string too big, trailing characters truncated" when compiling checks.json.h
```
- > export CXX=clang-cl
- > export CC=clang-cl
> cd clazy\
> cmake -DCMAKE_INSTALL_PREFIX=c:\my_install_folder\llvm\ -DCLANG_LIBRARY_IMPORT=C:\path\to\llvm-build\lib\clang.lib -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles JOM"
> jom && nmake install