diff options
author | Adrian Herrmann <adrian.herrmann@qt.io> | 2024-03-07 16:19:30 +0100 |
---|---|---|
committer | Adrian Herrmann <adrian.herrmann@qt.io> | 2024-03-11 11:41:51 +0100 |
commit | 8afb258a4177fe8eed2c569a9a7245f555ac5901 (patch) | |
tree | 040a701b1efd05c60cff25406e2d1303f1413074 /examples/scriptableapplication/doc/scriptableapplication.rst | |
parent | 45d03020d756d302dca19e62288dde1bcd3526d1 (diff) |
Replace cmake -H with -S
The previously undocumented cmake -H has been replaced with the official
-S in 3.13, update the documentation accordingly:
https://cgold.readthedocs.io/en/latest/glossary/-H.html
Pick-to: 6.6
Change-Id: I54fb700a36746b49a04449e8c9af21fd2bd235c7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/scriptableapplication/doc/scriptableapplication.rst')
-rw-r--r-- | examples/scriptableapplication/doc/scriptableapplication.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/scriptableapplication/doc/scriptableapplication.rst b/examples/scriptableapplication/doc/scriptableapplication.rst index b00d65415..146911f13 100644 --- a/examples/scriptableapplication/doc/scriptableapplication.rst +++ b/examples/scriptableapplication/doc/scriptableapplication.rst @@ -84,7 +84,7 @@ On Windows: mkdir build cd build - cmake -H.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release + cmake -S.. -B. -G Ninja -DCMAKE_BUILD_TYPE=Release ninja ./scriptableapplication @@ -127,13 +127,13 @@ passing the compiler on the command line: .. code-block:: bash - cmake -H.. -B. -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe + cmake -S.. -B. -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe or using the -G option: .. code-block:: bash - cmake -H.. -B. -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=Release + cmake -S.. -B. -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=Release If the ``-G "Visual Studio 14 Win64"`` option is used, a ``sln`` file |