From 1ddf80fe9336dc3b47e4455ae6118c3cf6fab002 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 4 Jun 2024 15:47:04 +0200 Subject: Examples: Update CMake instructions Remove -S and use -DCMAKE_C_COMPILER=cl.exe consistently. Pick-to: 6.7 Change-Id: I73a4e9aaf37bb082d8a4398113c8752caebf9358 Reviewed-by: Shyamnath Premnadh --- .../scriptableapplication/doc/scriptableapplication.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'examples/scriptableapplication/doc/scriptableapplication.rst') diff --git a/examples/scriptableapplication/doc/scriptableapplication.rst b/examples/scriptableapplication/doc/scriptableapplication.rst index 146911f13..bbabb1247 100644 --- a/examples/scriptableapplication/doc/scriptableapplication.rst +++ b/examples/scriptableapplication/doc/scriptableapplication.rst @@ -72,21 +72,22 @@ macOS/Linux: .. code-block:: bash cd ~/pyside-setup/examples/scriptableapplication + mkdir build + cd build + cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release + ninja + ./scriptableapplication On Windows: .. code-block:: bash cd C:\pyside-setup\examples\scriptableapplication - - -.. code-block:: bash - mkdir build cd build - cmake -S.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release + cmake .. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=cl.exe ninja - ./scriptableapplication + .\scriptableapplication.exe Using QMake +++++++++++ -- cgit v1.2.3