summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Drop code not needed with current required CMake versionBrad King2019-03-141-3/+0
|
* QtDialog: Add windows taskbar progressJulien Jomier2018-11-201-0/+11
|
* Windows: Embed version information into cmake-guiBrad King2018-01-301-0/+4
| | | | | In commit 5b9da05b7a (Windows: Embed version information into CMake binaries, 2017-10-25) we accidentally left out cmake-gui.
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* cmake-gui: Add build option to use Qt5 windows plugin staticallyBrad King2017-11-131-1/+7
| | | | This will enable builds against a static Qt5 on Windows.
* QtDialog: block include-what-you-useDaniel Pfeifer2017-05-051-0/+6
|
* Disable clang-tidy checks on files generated by QtDaniel Pfeifer2017-04-281-0/+13
|
* cmake-gui: Fix display of icon under Wayland.Clinton Stimpson2017-04-171-1/+1
| | | | Fixes: #16797
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* cmake-gui: Add build option to use Qt5 xcb plugin staticallyBrad King2016-06-301-0/+6
| | | | This will enable builds against a static Qt5.
* cmake-gui: Reference LGPLv3 when redistributing QtBrad King2016-06-171-3/+3
| | | | | | | | | Download http://www.gnu.org/licenses/lgpl.txt and place it as Licenses/LGPLv3.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/LGPLv3.txt so that the dialog can display a path to it.
* 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.