| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Being initialized is a requirement for this method to return something,
and is what differentiates it from using GetIterator with it.GetValue.
|
|
|
|
|
| |
Migrate existing users of the CacheManager API to use the new
API. The CacheManager will be going away soon.
|
| |
|
|\
| |
| |
| |
| | |
1ade687d cmake-gui: Reset generator platform and toolset on configure (#15411)
|
| |
| |
| |
| |
| |
| |
| |
| | |
At the start of each configure step we already reset the generator
selection (CMAKE_GENERATOR) to match that loaded for the current
project. Add missing code to reset the generator platform and toolset
(CMAKE_GENERATOR_PLATFORM and CMAKE_GENERATOR_TOOLSET) also so that they
do not leak across projects.
|
|/
|
|
| |
It is not needed.
|
|
|
|
| |
This allows the search field to show on OS X Yosemite
|
|
|
|
| |
This matches the behavior of other buttons.
|
| |
|
|
|
|
|
|
|
|
|
| |
Use regex to find/replace:
__(cm.*_h)
\1
Then fix QCMake.h by hand.
|
|
|
|
| |
Also only install the icons to the icons directory.
|
|
|
|
| |
Apple uses the dmg file which doesn't have .desktop support.
|
|
|
|
| |
Otherwise CMake.app bundle will not run when using Qt5.
|
|
|
|
|
| |
Although this value can be configured in the dialog, it was simply not
passed to the project as CMAKE_SYSTEM_VERSION. Fix that.
|
|\
| |
| |
| |
| | |
8da0a75b Simplify and clarify credit text and link
|
| |
| |
| |
| |
| | |
Use the name "Kitware" rather than "Kitware, Inc." to simplify the text.
Provide a CMake-specific URL.
|
| |
| |
| |
| |
| |
| | |
Output sent through these APIs is logically part of the CMake process
output. Capture it with callbacks and display it in the cmake-gui
output window along with other messages.
|
| |
| |
| |
| |
| | |
Clarify that it is the callback for the cmSystemTools::Message API.
Rename callback clients too.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| | |
0c4c29ed cmake-gui: Fix desktop file icon configuration
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Drop the icon file extension. This fixes the desktop file validation
message:
"CMakeSetup32.png" for key "Icon" in group "Desktop Entry" is an icon
name with an extension, but there should be no extension as described in
the Icon Theme Specification if the value is not an absolute path
Applied-by: Rolf Eike Beer <eike@sf-mail.de>
|
| |
| |
| |
| |
| | |
This fixes bug #14274 where a clang++ symlink was resolved to
a clang executable.
|
|\ \
| |/
| |
| |
| | |
5f210672 QtDialog: Fix Qt 5 build on non-Windows.
|
| |
| |
| |
| |
| | |
The Qt5Core_QTMAIN_LIBRARIES variable is defined to the Qt5::WinMain
target on Windows, and undefined elsewhere.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
ee8cef87 Encoding: If configured, write Visual Studio project files as UTF-8.
91fd99b8 Encoding: Provide option to configure CMake to use UTF-8 encoding.
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | | |
61c60b23 QtDialog: Avoid linking to Qt4 WinMain when using Qt 5.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
c34216cf cmake-gui: Fix compile with Qt5 using UTF-8 internal encoding.
|
| | |
| | |
| | |
| | |
| | | |
Because we already call [to|from]Local8Bit() with C strings where we are supposed to,
we do not need to specify UTF-8 encoding when converting C strings to QString.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
ae32622b cmake-gui: Fix handling of missing CMAKE_EXTRA_GENERATOR (#14804)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since commit 1a1b737c (stringapi: Use strings for generator names,
2014-02-24) cmExternalMakefileProjectGenerator::CreateFullGeneratorName
expects a std::string instead of const char*. When no extra generator
name is available, pass an empty string to avoid NULL dereference.
|
|/ /
| |
| |
| |
| |
| | |
A UTF-8 QTextCodec is used with QString when KWSys is
configured to treat strings as UTF-8.
This means QString::toLocal8Bit() will convert to UTF-8.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Store variable types together with their names in the variable completion
list so that the type is automatically recovered when you select a variable.
Keep variable names and types in separate lists. This removes the :TYPE
string from completion list and the Name field and makes variable search
easier. The variable names and types are now kept in two different
settings - AddVariableNames and AddVariableTypes. Drop the old
AddVariableCompletionEntries setting.
|
| |
|
|\
| |
| |
| |
| | |
8ad8a9b cmake-gui: Reference LGPLv2.1 when redistributing Qt
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/|
| |
| | |
b566987 cmake-gui: Configure again if a variable is changed before Generate is pushed.
|
| | |
|
|/
|
|
|
| |
Add maintenance credit to command-line "--version" output and the
cmake-gui "About" dialog.
|
|\
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
| |
Set the cmake-gui MACOSX_BUNDLE_COPYRIGHT property by parsing the
copyright notice line out of Copyright.txt instead of duplicating it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Address warnings:
Source/QtDialog/CMakeSetupDialog.cxx:1233:15:
warning: declaration of 'cursor' shadows a member of 'this' [-Wshadow]
Source/QtDialog/CMakeSetupDialog.cxx:1260:15:
warning: declaration of 'cursor' shadows a member of 'this' [-Wshadow]
by renaming the local variable to 'textCursor'.
|
|
|
|
|
|
|
|
|
|
|
| |
Make the standard --help-* options available from all command-line
tools. Drop options that are no longer supported:
--copyright, --help-full, --help-html, --help-man,
--help-compatcommands, --help-custom-modules
De-duplicate Help/manual/*.1.rst help options by using an
OPTIONS_HELP.txt file included from each manual.
|
|
|
|
|
| |
We need only 'Brief' for usage documentation. We no longer have builtin
'Full' documentation, which is now in Help/*/*.rst files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We will no longer support full documentation generation from executables
and will instead generate documentation with other tools. Disable (with
a warning left behind) the command-line options:
--copyright
--help-compatcommands
--help-full
--help-html
--help-man
Drop supporting code. Drop manual sections generation from executables.
Remove internal documentation construction APIs. Drop unused sections
See Also, Author, Copyright, Compat Commands, Custom Modules.
|
|\
| |
| |
| |
| | |
dcf1b64 OS X: Set CMake.app bundle Info.plist fields (#11694)
|