summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Populate CFBundleIdentifier in our Info.plist file (#16023)Brad King2016-03-171-0/+1
|
* QtDialog: Add option to control XDG file install destinationNiels Ole Salscheider2015-12-211-3/+3
| | | | | | | Create a `CMAKE_XDGDATA_DIR` option and add a corresponding flag to the `bootstrap` script. This is needed for multiarch layouts where the prefix is `/usr/${host}` but where architecture-independent files (like the XDG-specific ones) are installed to `/usr/share`.
* cmake-gui: Add options to control warning messagesMichael Scott2015-12-101-0/+4
| | | | | | | | | Create a new dialog window for the cmake-gui that provides controls for setting the state of suppression of developer and deprecated warning messages. This replaces the previous single checkbox for setting the state of suppression of developer warnings. Added a note for the new functionality to the release notes.
* cmake-gui: Add regex explorer windowGregor Jasny2015-12-031-0/+4
|
* Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8 (#15674)Gilles Khouzam2015-09-211-1/+1
| | | | | | | | | | According to GetVersionEx documentation: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241.aspx we must manifest each application to explicitly declare support for each version of Windows.
* cmake-gui: Improve packaging of Qt5 libraries.Clinton Stimpson2015-09-171-11/+5
| | | | | | | Fixes #15685, where the right Qt5 dlls on Windows were not packaged because they were not found when relying on the PATH environment variable. Also some cleanup of code introduced in 8120e13f, but no longer needed with 678aaad1.
* CMake: Add CMake_INSTALL_DEPENDENCIES optionKonstantin Podsvirov2015-07-271-2/+2
| | | | | By default this option is ON. Turn OFF to disable installing runtime 3rd-party dependencies.
* cmake-gui: Install Qt5 Windows platform pluginKonstantin Podsvirov2015-07-271-10/+24
| | | | | Qt5 requires a platform-specific runtime-loaded plugin. We already install it for OS X. Install it for Windows too.
* CMake: New option CMake_INSTALL_COMPONENTSKonstantin Podsvirov2015-07-071-10/+11
| | | | | By default is OFF. Now it's used with CPack IFW himself installer.
* CMake: Install COMPONENTs (QtDialog)Konstantin Podsvirov2015-07-071-9/+19
| | | | Added "COMPONENT cmake-gui" for all install commands in lists file
* CMake: Install COMPONENTsKonstantin Podsvirov2015-07-071-1/+3
| | | | | | | | | | | | | | | Added components: - cmake - ctest - cpack - cmake-gui - ccmake - data - sphinx-html - sphinx-singlehtml - sphinx-qthelp Other now Unspecified.
* cmake-gui: Replace command-line install dialog with information boxBrad King2015-05-211-4/+0
| | | | | | | | | | The QMacInstallDialog infrastructure no longer works on modern OS X versions. Drop it and replace the dialog with a simple info box that explains to the user how to run 'cmake-gui --install' to add symlinks. Also suggest simply modifying the PATH. This approach is similar to the Xcode 'xcode-select --install' method of installing Xcode Command Line Tools.
* QtDialog: Fix CMake packaging with CPack on OS X with Qt5.Clinton Stimpson2015-03-251-2/+2
|
* QtDialog: install the 128x128 iconBen Boeckel2014-10-291-1/+7
| | | | Also only install the icons to the icons directory.
* QtDialog: don't install desktop file bits on AppleBen Boeckel2014-10-291-1/+1
| | | | Apple uses the dmg file which doesn't have .desktop support.
* cmake-gui: Make sure we bundle Qt5 Cocoa platform pluginAdam Strzelecki2014-10-101-1/+27
| | | | Otherwise CMake.app bundle will not run when using Qt5.
* OS X: Package with DragNDrop instead of PackageMakerBrad King2014-05-081-8/+0
| | | | | | | | | | | | | | | Use the CPack DragNDrop generator instead of the deprecated PackageMaker tool to package CMake itself. This provides an installation experience that is more consistent with other products on OS X and allows users to select the destination directory easily. It also avoids installing "/private/var/db/receipts/com.Kitware.CMake.*" receipts that must be removed by "pkgutil --forget com.Kitware.CMake" before another version of CMake can be installed. The DragNDrop installer does not support a post-flight script, so drop our configuration of it. The cmake-gui has an option for installing symbolic links to enable command-line use. In practice users may simply add "/Applications/CMake.app/Contents/bin" to their PATH instead.
* QtDialog: Fix Qt 5 build on non-Windows.Stephen Kelly2014-03-191-1/+1
| | | | | The Qt5Core_QTMAIN_LIBRARIES variable is defined to the Qt5::WinMain target on Windows, and undefined elsewhere.
* QtDialog: Avoid linking to Qt4 WinMain when using Qt 5.Stephen Kelly2014-03-171-2/+6
| | | | | | Override the QT_QTMAIN_LIBRARY cache variable with a regular variable in the Qt 5 configuration. This avoids linking with the Qt 4 version of the WinMain library.
* cmake-gui: Reference LGPLv2.1 when redistributing QtBrad King2013-11-211-0/+7
| | | | | | | | | Download http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt and place it as Licenses/LGPLv2.1.txt in our source tree. When building cmake-gui, use option CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL to enable notification in the "About" dialog of how the distribution of Qt is licensed. Install the license file as ${CMAKE_ROOT}/Licenses/LGPLv2.1.txt so that the dialog can display a path to it.
* Merge topic 'cmake-distribution-config'Brad King2013-11-131-4/+4
|\ | | | | | | | | | | | | 06b0dbe OS X: Drop version number from CMake.app bundle name (#11693) 84af42b Configure NSIS-packaged CMake version and install destination 7655029 Configure NSIS-packaged CMake documentation link in Start Menu
| * OS X: Drop version number from CMake.app bundle name (#11693)Brad King2013-11-121-4/+4
| | | | | | | | | | | | | | | | | | Always name the application bundle "CMake.app". Users can rename it after installation if they wish. This is the typical approach used by OS X applications, including Xcode. It allows CMake to be upgraded without manually re-running CMake in every build tree to update the path to CMake. It also makes the executable location in the CMake build tree more predicatable.
* | cmake-gui: Parse Copyright.txt instead of duplicating noticeBrad King2013-11-121-1/+4
|/ | | | | Set the cmake-gui MACOSX_BUNDLE_COPYRIGHT property by parsing the copyright notice line out of Copyright.txt instead of duplicating it.
* Refactor internal resource location APIs and initializationBrad King2013-11-121-0/+7
| | | | | | | | | | | | | | | | | | | | Rename cmSystemTools::FindExecutableDirectory to FindCMakeResources. Teach it to compute the locations of cmake, ctest, cpack, ccmake, and cmake-gui executables, and the location of CMAKE_ROOT. Provide this information from static cmSystemTools::Get<resource>() methods. Refactor code that needs these locations to use the new APIs. Teach FindCMakeResources to use the OS X system API to lookup the executable location. When running from the CMake build tree itself, leave a file in the tree that FindCMakeResources can use to read the location of the source tree. This avoids the need to compile the source tree location into a binary that may be installed and used without the source tree. Teach the QtDialog on OS X to create a "cmake-gui" symlink in the build tree next to "cmake" and the other tools, as is already done in the install tree for the application bundle. This ensures a consistent set of executables are available in one directory.
* OS X: Set CMake.app bundle Info.plist fields (#11694)Brad King2013-10-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the Apple Info.plist reference documentation: Core Foundation Keys https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html Launch Services Keys https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html Cocoa Keys https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html modify the Info.plist we create for cmake-gui to add/set fields CFBundleShortVersionString = The release-version-number string LSApplicationCategoryType = UTI that categorizes the app for the App Store NSHumanReadableCopyright = Specifies the copyright notice and drop fields CFBundleGetInfoString CFBundleLongVersionString LSRequiresCarbon Also prepare to set CFBundleVersion = The build-version-number string but leave it commented out as TBD (To Be Determined) for now. The version fields must have form <major>.<minor>.<patch> with integer components. While at it, rename the bundle to end in ".<patch>" instead of "-<patch>" so that it is consistent with the version number and does not look like a packaging increment suffix.
* cmake-gui: Fix build rules for Qt5 on WindowsBrad King2013-08-071-0/+18
| | | | | Set policy CMP0020 to NEW to get WinMain from Qt. Fix the documentation custom command PATH for cmake-gui to find the Qt5 DLLs.
* cmake-gui: Use -fPIE if required by Qt.Stephen Kelly2013-03-121-0/+2
|
* Enable deprecated API when using Qt 5.Stephen Kelly2012-09-231-0/+2
| | | | | | | | | | | The QAbstractItemModel::reset() method is deprecated in Qt 5, and therefore not part of the API by default (on non-Windows). The replacement for it is beginResetModel/endResetModel which are available from Qt 4.6 onwards. The minimum version of Qt required is currently 4.4, so enable the deprecated API instead of changing that.
* Build with Qt5 if it is found.Stephen Kelly2012-08-221-6/+23
|
* Replace two include_directories with a setting.Stephen Kelly2012-08-211-2/+1
|
* Remove an if which is always true.Stephen Kelly2012-08-211-7/+6
| | | | CMake based CMake build requires version 2.8.2 as of version 2.8.9.
* Move variable setting down to where it relates to.Stephen Kelly2012-08-211-1/+1
|
* Use CMake platform variables instead of Qt ones.Stephen Kelly2012-08-211-2/+2
| | | | The Qt ones no longer exist in Qt 5.
* Add a return-after-error if an old Qt is found.Stephen Kelly2012-08-211-94/+93
| | | | No need for an else after a return.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-10/+10
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-41/+41
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Ensure 3rd party libraries are writable.Nicolas Despres2012-07-171-4/+5
| | | | | This patch fixes CMake.Install when Qt4 is installed read-only by packaging system like Homebrew.
* cmake-gui: Improve interrupt granularity to fix bug 12649.Clinton Stimpson2012-01-021-2/+2
| | | | | | | Instead of enabling interrupt only when a progress or message callback is called, add a new callback specifically for interrupt. This new callback is called from GetFatalErrorOccured() so cmake-gui can immediately report interrupt status instead of calling queuing a call to cmSystemTools::SetFatalErrorOccured() and waiting for the progress or message callback to be called to process that queued call.
* cmake-gui: use BundleUtilities in place of custom script.Clinton Stimpson2010-10-141-16/+16
| | | | | | BundleUtilities is better supported and allows including shared Qt libs on other platforms. Also removed limitation of static Qt for windows build of cmake-gui.
* BUG: Fix bug #9894. Make higher resolution CMake icon available as an ↵Clinton Stimpson2009-12-111-1/+1
| | | | application icon. On Mac, the higher resolution one is used in the dock.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-0/+11
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Fix installation when built by CMake 2.4Brad King2009-07-311-5/+0
| | | | | | | | | CMake 2.4 generates old-style cmake_install.cmake code including calls to the file(INSTALL) command with the COMPONENTS argument. We need to set CMAKE_INSTALL_SELF_2_4 for the whole install tree to prevent the command from complaining in this special case. Previously this was needed only in the QtDialog directory, but now it is needed in the entire tree.
* ENH: take cmake-gui out of betaBill Hoffman2009-02-131-0/+2
|
* COMP: Fix installation of cmake-gui by CMake 2.4Brad King2009-01-051-0/+5
| | | | | | | | | When CMake 2.4 generates the build tree for CMake itself it asks the built CMake to install itself using the rules that 2.4 generated. Since the install rules use undocumented commands that are not compatible from 2.4 to 2.6 we need a special case to avoid failure. This sets a special indicator variable in the install rules that enables a compatibility hack to support the old install rule format.
* ENH:Clinton Stimpson2008-12-161-4/+6
| | | | | | | For bug #7191. Improvements to the dialog that sets up the first configure. Fixing the large size of it by breaking it up into a wizard. Also incorporated suggestions from bug report.
* ENH: Add cross compiling support in the GUI in the same dialog that prompts forClinton Stimpson2008-05-151-1/+8
| | | | | | | | | | the generator on the first configure. It either ask for a toolchain file or asks for all the information a toolchain file might contain. Also added option for setting non-default compilers if not cross compiling. Fixes #6849. Also a bit of code cleanup and re-organizing.
* ENH: make sure cmake-gui builds with cmake 2.4.XBill Hoffman2008-04-081-4/+4
|
* ENH: install the mac application bundle into /Applications directly with no ↵Bill Hoffman2008-04-041-2/+8
| | | | enclosing folder
* ENH: add KDE desktop stuffBill Hoffman2008-03-111-0/+9
|
* ENH: install working with symlink qt toolBill Hoffman2008-02-191-2/+10
|