Commit 079448d3 authored by Tobias Hunger's avatar Tobias Hunger

CMake: Document arguments used to run cmake with

Just add a line of text with the cmake that is being run, the
arguments passed to it and the build directory. Mostly as a help
to debug.

Change-Id: I5ebcac83ddeadf1fc79391b92a83926bff2ea9b2
Reviewed-by: default avatarCristian Adam <>
Reviewed-by: default avatarTim Jenssen <>
parent fcb52c40
......@@ -560,8 +560,15 @@ void CMakeRunPage::runCMake()
this, &CMakeRunPage::cmakeReadyReadStandardError);
connect(m_cmakeProcess, static_cast<void(QProcess::*)(int)>(&QProcess::finished),
this, &CMakeRunPage::cmakeFinished);
QString arguments = m_argumentsLineEdit->text();
m_output->appendPlainText(tr("Running: '%1' with arguments '%2' in '%3'.\n")
cmakeManager->createXmlFile(m_cmakeProcess, cmake->cmakeExecutable().toString(),
m_argumentsLineEdit->text(), m_cmakeWizard->sourceDirectory(),
arguments, m_cmakeWizard->sourceDirectory(),
m_buildDirectory, env,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment