summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureLog.cxx
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2024-08-19 19:12:03 (GMT)
committerAlexey Edelev <alexey.edelev@qt.io>2024-08-21 09:05:19 (GMT)
commit8d1803d463adac8ebc63bb0d1a9ef55b6c56472a (patch)
treef5deb9b7126b04cbb875553080ebbeaa6fe36520 /Source/cmConfigureLog.cxx
parent9ab270f47d68198dee29780a346294a728087105 (diff)
downloadCMake-8d1803d463adac8ebc63bb0d1a9ef55b6c56472a.zip
CMake-8d1803d463adac8ebc63bb0d1a9ef55b6c56472a.tar.gz
CMake-8d1803d463adac8ebc63bb0d1a9ef55b6c56472a.tar.bz2
AutoGen: Run batch scripts using cmd.exe on windows platforms explicitly
The CreateProcessW function requires to use the cmd.exe when attempting to execute batch scripts. AutoMoc RunProcess relies on CreateProcessW in it's internals. Currently the cmd.exe run happens implicitly for batch files(perhaps by luck), but this is not documented anywhere. This replaces the .bat files in the AutoGen related command lines with explicit 'cmd.exe /c' call. Also 'cmd.exe /c' has own limitation related to the arguments. The very first argument shouldn't be quoted otherwise this lead to the parsing issues. So for the .bat files that contain spaces in their paths use short name conversion. Fixes #26208
Diffstat (limited to 'Source/cmConfigureLog.cxx')
0 files changed, 0 insertions, 0 deletions