diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-05-06 12:28:40 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-05-08 16:53:31 +0200 |
commit | be71b8875cd48727844256709082ada04ed74410 (patch) | |
tree | 523ebd09834989f7ffe587e39a6dd91b73a4f786 /examples | |
parent | a497db6730f29772265a16244f4a9756bafcceeb (diff) |
sample binding: Document how to force MSVC in case CMake detects clang
Pick-to: 6.1 6.1.0
Task-number: PYSIDE-1112
Change-Id: I9eefeb12c1609ee0fda4fd0ab160b25f82813f6a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/samplebinding/README.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/samplebinding/README.md b/examples/samplebinding/README.md index d12d2b774..26ff2b383 100644 --- a/examples/samplebinding/README.md +++ b/examples/samplebinding/README.md @@ -177,7 +177,13 @@ python main.py It is possible that **CMake** can pick up the wrong compiler for a different architecture, but it can be addressed explicitly -using the -G option: +by setting the **CC** environment variable: + +```bash +set CC=cl +``` + +or by using the -G option: ```bash cmake -H.. -B. -G "Visual Studio 14 Win64" |