[cmake-commits] clinton committed QCMake.cxx 1.18 1.19
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Feb 15 15:36:18 EST 2008
Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv9037
Modified Files:
QCMake.cxx
Log Message:
ENH: remove unused code.
Index: QCMake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMake.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- QCMake.cxx 15 Feb 2008 17:12:48 -0000 1.18
+++ QCMake.cxx 15 Feb 2008 20:36:16 -0000 1.19
@@ -33,11 +33,8 @@
QDir execDir(QCoreApplication::applicationDirPath());
- QString cmakeGUICommand = QString("cmake-gui")+cmSystemTools::GetExecutableExtension();
- cmakeGUICommand = execDir.filePath(cmakeGUICommand);
-
#if defined(Q_OS_MAC)
- execDir.cd("../../../"); // path to cmake in build directory (need to fix for deployment)
+ execDir.cd("../../../");
#endif
QString cmakeCommand = QString("cmake")+cmSystemTools::GetExecutableExtension();
@@ -51,7 +48,6 @@
this->CMakeInstance = new cmake;
this->CMakeInstance->SetCMakeCommand(cmakeCommand.toAscii().data());
- //this->CMakeInstance->SetCMakeEditCommand(cmakeGUICommand.toAscii().data());
#if defined(Q_OS_MAC)
this->CMakeInstance->SetCMakeEditCommand("cmake-gui.app/Contents/MacOS/cmake-gui");
#else
More information about the Cmake-commits
mailing list