| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
e462ef74 Help: Add notes for topic 'cmake-gui-osx-install-command-line'
8ea2db26 cmake-gui: Replace command-line install dialog with information box
438ce4a0 cmake-gui: Add --install option to add command-line tools on OS X
41477d5c cmake-gui: Drop undocumented and unused --mac-install option
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
On OS X add an "--install[=/path/to/bin]" option (defaulting to
/usr/bin) that installs symbolic links into the given directory.
This will help OS X users make the tools available on the command
line even when they sit inside a CMake.app bundle.
|
| |
| |
| |
| |
| |
| | |
This option was once used by our OS X package installer to create
symlinks at install time. Since switching to the DragNDrop installer
we no longer use this option.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need to duplicate these in all cmLocalGenerators.
Rename the symbols according to current conventions.
Add explicit calls to Set{Source,Binary}Directory with empty strings
in order to trigger the population of the components containers with
the current working directory in cmLocalGenerator. Having
directories set to empty is a special case in CMake, which is relied
on for the `if(CMAKE_BINARY_DIR)` condition at the end of
CMakeDetermineSystem.cmake.
|
|
|
|
|
|
|
|
|
| |
They are maintained as containing the same content as the 'home'
directories, but they are never read from.
Fix some comments and help strings which confused the two by
name. They actually mean what is called CMAKE_SOURCE_DIR in
cmake code.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This topic was never tested without some follow-up commits. The
GetCacheEntryValue API returns a pointer to memory freed on return.
It will have to be revised along with the rest of the original topic.
|
| |
|
|
|
|
|
| |
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
|