diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-07-03 12:25:44 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-07-06 17:43:35 +0200 |
| commit | 3ac054d6a8bdf13dad764f9e2dea359a93e540f5 (patch) | |
| tree | c974ce31279891a2f1e76a3d65aa96354cf25ea6 /src/opengl/qopenglshaderprogram.cpp | |
| parent | dbd3c7596542ab100a794831f1f28ea00be77a0f (diff) | |
CMake: Re-work configure flags for CMake generators
Remove the -cmake-makefiles configure argument as its meaning was in
essence "do not pass a -G argument to CMake".
Instead, we add the following arguments:
-cmake-generator <name> to pass -G <name> to CMake
-cmake-use-default-generator to pass no -G argument to CMake
If none of those arguments is given, we try to autodetect the
generator. If a ninja executable is found, we prefer the Ninja
generator. On Unix we fall back to "Unix Makefiles".
On Windows, we do a poor man's compiler detection and select one of
"NMake Makefiles", "NMake Makefiles JOM" and "MinGW Makefiles".
Change-Id: Ic36669bd50956d15fbc71cee73720732cd4bfab8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/opengl/qopenglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions
