forked from qt-creator/qt-creator
Make msvc and cmake play together.
Note: This requires a cvs cmake and is not fully tested yet. This adds a few missing pieces, so now opening new never built projects without a .user file on systems with just one VS installation should work.
This commit is contained in:
@@ -57,11 +57,8 @@ bool MakeStep::init(const QString &buildConfiguration)
|
||||
|
||||
setEnabled(buildConfiguration, true);
|
||||
setWorkingDirectory(buildConfiguration, m_pro->buildDirectory(buildConfiguration));
|
||||
#ifdef Q_OS_WIN
|
||||
setCommand(buildConfiguration, "mingw32-make");
|
||||
#else // Q_OS_WIN
|
||||
setCommand(buildConfiguration, "make"); // TODO give full path here?
|
||||
#endif // Q_OS_WIN
|
||||
|
||||
setCommand(buildConfiguration, m_pro->toolChain(buildConfiguration)->makeCommand());
|
||||
|
||||
if (!value(buildConfiguration, "cleanConfig").isValid() &&value("clean").isValid() && value("clean").toBool()) {
|
||||
// Import old settings
|
||||
|
||||
Reference in New Issue
Block a user