remove -dsp & -vcp vestiges
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 2 Aug 2012 13:23:15 +0000 (15:23 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Aug 2012 08:40:40 +0000 (10:40 +0200)
only -vcproj is meaningful at this point

Change-Id: If727c96a9628e37a5a00a19a6eabede261c9c4b2
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
tools/configure/configureapp.cpp

index 96790a4..78e3c35 100644 (file)
@@ -204,7 +204,6 @@ Configure::Configure(int& argc, char** argv)
     dictionary[ "QCONFIG" ]         = "full";
     dictionary[ "EMBEDDED" ]        = "no";
     dictionary[ "BUILD_QMAKE" ]     = "yes";
-    dictionary[ "DSPFILES" ]        = "yes";
     dictionary[ "VCPROJFILES" ]     = "yes";
     dictionary[ "QMAKE_INTERNAL" ]  = "no";
     dictionary[ "FAST" ]            = "no";
@@ -784,16 +783,6 @@ void Configure::parseCmdLine()
             dictionary[ configCmdLine.at(i).section('-', 3).toUpper() ] = "no";
 #endif
         // IDE project generation -----------------------------------
-        else if (configCmdLine.at(i) == "-no-dsp")
-            dictionary[ "DSPFILES" ] = "no";
-        else if (configCmdLine.at(i) == "-dsp")
-            dictionary[ "DSPFILES" ] = "yes";
-
-        else if (configCmdLine.at(i) == "-no-vcp")
-            dictionary[ "VCPFILES" ] = "no";
-        else if (configCmdLine.at(i) == "-vcp")
-            dictionary[ "VCPFILES" ] = "yes";
-
         else if (configCmdLine.at(i) == "-no-vcproj")
             dictionary[ "VCPROJFILES" ] = "no";
         else if (configCmdLine.at(i) == "-vcproj")
@@ -1732,9 +1721,6 @@ bool Configure::displayHelp()
         // Qt\Windows only options go below here --------------------------------------------------------------------------------
         desc("Qt for Windows only:\n\n");
 
-        desc("DSPFILES", "no",  "-no-dsp",              "Do not generate VC++ .dsp files.");
-        desc("DSPFILES", "yes", "-dsp",                 "Generate VC++ .dsp files, only if spec \"win32-msvc\".\n");
-
         desc("VCPROJFILES", "no", "-no-vcproj",         "Do not generate VC++ .vcproj files.");
         desc("VCPROJFILES", "yes", "-vcproj",           "Generate VC++ .vcproj files, only if platform \"win32-msvc.net\".\n");
 
@@ -3661,14 +3647,6 @@ void Configure::appendMakeItem(int inList, const QString &item)
     dir.prepend("/src");
     makeList[inList].append(new MakeItem(sourcePath + dir,
         item + ".pro", buildPath + dir + "/Makefile", Lib));
-    if (dictionary[ "DSPFILES" ] == "yes") {
-        makeList[inList].append(new MakeItem(sourcePath + dir,
-            item + ".pro", buildPath + dir + "/" + item + ".dsp", Lib));
-    }
-    if (dictionary[ "VCPFILES" ] == "yes") {
-        makeList[inList].append(new MakeItem(sourcePath + dir,
-            item + ".pro", buildPath + dir + "/" + item + ".vcp", Lib));
-    }
     if (dictionary[ "VCPROJFILES" ] == "yes") {
         makeList[inList].append(new MakeItem(sourcePath + dir,
             item + ".pro", buildPath + dir + "/" + item + ".vcproj", Lib));
@@ -3679,9 +3657,6 @@ void Configure::generateMakefiles()
 {
     if (dictionary[ "NOPROCESS" ] == "no") {
         QString spec = dictionary.contains("XQMAKESPEC") ? dictionary[ "XQMAKESPEC" ] : dictionary[ "QMAKESPEC" ];
-        if (spec != "win32-msvc")
-            dictionary[ "DSPFILES" ] = "no";
-
         if (spec != "win32-msvc.net" && !spec.startsWith("win32-msvc2") && !spec.startsWith(QLatin1String("wince")))
             dictionary[ "VCPROJFILES" ] = "no";
 
@@ -3690,8 +3665,7 @@ void Configure::generateMakefiles()
         if (dictionary["FAST"] != "yes") {
             QString dirName;
             bool generate = true;
-            bool doDsp = (dictionary["DSPFILES"] == "yes" || dictionary["VCPFILES"] == "yes"
-                          || dictionary["VCPROJFILES"] == "yes");
+            bool doDsp = (dictionary["VCPROJFILES"] == "yes");
             while (generate) {
                 QString pwd = QDir::currentPath();
                 QString dirPath = buildPath + dirName;