summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Reset generator platform and toolset on configure (#15411)Brad King2015-02-191-0/+2
| | | | | | | | 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.
* cmake-gui: Capture cmSystemTools::Stdout and StderrBrad King2014-05-151-0/+16
| | | | | | 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.
* cmSystemTools: Rename ErrorCallback to MessageCallbackBrad King2014-05-151-3/+3
| | | | | Clarify that it is the callback for the cmSystemTools::Message API. Rename callback clients too.
* cmake-gui: Fix handling of missing CMAKE_EXTRA_GENERATOR (#14804)Brad King2014-03-121-1/+1
| | | | | | | 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.
* stringapi: Use strings for cache iterator valuesBen Boeckel2014-03-081-6/+6
|
* Refactor internal resource location APIs and initializationBrad King2013-11-121-23/+2
| | | | | | | | | | | | | | | | | | | | 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.
* Compile with both Qt4 and Qt5.Stephen Kelly2012-08-211-0/+4
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-12/+12
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* cmake-gui: Fix code to respect current locale.Clinton Stimpson2012-07-061-41/+41
| | | | | This means non-ascii characters now work correctly on systems that have a non-ascii 8 bit encoding as the current locale.
* cmake-gui: Improve interrupt granularity to fix bug 12649.Clinton Stimpson2012-01-021-1/+12
| | | | | | | 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.
* Unwatch manual variables upon removal in cmake-guiBen Boeckel2011-01-131-0/+2
|
* Don't output to stderr in the GUIBen Boeckel2011-01-031-1/+0
|
* Set a watch on variables added through the guiBen Boeckel2010-09-221-0/+2
|
* Rename flags again and use variablewatch for cliBen Boeckel2010-09-011-7/+0
|
* Add warn-unused to the Qt interfaceBen Boeckel2010-09-011-0/+14
|
* Rename strict-mode to warn-uninitializedBen Boeckel2010-09-011-5/+5
|
* Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-011-0/+8
|
* ENH: Move SetErrorMode around calls to generate and configure instead of ↵Clinton Stimpson2009-10-261-0/+21
| | | | setting it for the whole application.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | 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.
* ENH: Patch from Alexander Neundorf to remove "KDevelop3" from list of ↵Clinton Stimpson2009-08-101-0/+9
| | | | generators. "KDevelop3 - Unix Makefiles" should be used instead.
* BUG: Fix inconsistency with lowercase drive letters on Windows.Clinton Stimpson2009-03-301-2/+6
|
* ENH: Add support for showing combo box for choosing from a list of strings ↵Clinton Stimpson2009-03-121-0/+4
| | | | that a cache property can have.
* ENH: Add cross compiling support in the GUI in the same dialog that prompts forClinton Stimpson2008-05-151-21/+21
| | | | | | | | | | 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.
* BUG: Fix #6733. Always convert "\" to "/" in source & binary directory ↵Clinton Stimpson2008-04-071-5/+7
| | | | fields on Windows.
* ENH: Add debug output option to a new Options menu.Clinton Stimpson2008-04-021-0/+15
| | | | | Move dev warnings option to the new Options menu. Fixes #6335.
* ENH: add ability to suppress dev warnings to gui codeBill Hoffman2008-03-121-0/+7
|
* ENH: support for cpack and install of cmake-gui as mac app bundleBill Hoffman2008-02-161-2/+8
|
* ENH: remove unused code.Clinton Stimpson2008-02-151-5/+1
|
* ENH: use package name on mac for edit cacheBill Hoffman2008-02-151-0/+4
|
* ENH: Add shortcut to start search/filter.Clinton Stimpson2008-02-141-10/+14
| | | | | | | | A bit of cleanup. Disable tab navigation in cache variable list. Enable home/end keys. BUG: Ensure currently edited values are saved before doing configure.
* ENH: do not show unititialized entriesBill Hoffman2008-02-141-1/+2
|
* ENH: fix make edit_cache for cmake-guiBill Hoffman2008-02-121-0/+1
|
* ENH: Need to pick up the PreLoad.cmake files.Clinton Stimpson2008-02-081-0/+1
|
* ENH: Use translation file if it exists for the locale.Clinton Stimpson2008-02-011-0/+2
| | | | | | | Consolidate some strings. More responsive interrupting. Prompt user if they try to close during configure, and allow them to close.
* ENH: Add ability to add cache entries (even before first configure).Clinton Stimpson2007-11-131-1/+40
|
* BUG: Don't prompt for unsaved changes if no changes were made.Clinton Stimpson2007-11-091-3/+3
| | | | ENH: Error messages go to output window instead of message boxes.
* BUG: Don't enable generate if configure completed with errors.Clinton Stimpson2007-11-081-2/+2
| | | | ENH: Allow build w/ Qt configured with no STL support.
* ENH: add context menu for deleting, ignoring, and getting help for cache ↵Clinton Stimpson2007-11-081-5/+28
| | | | | | | | | | | entries. ENH: add delete cache button ENH: add information string above configure/generate buttons ENH: change search to search both columns, and from regex to plain string search ENH: add buddy info in cache entry view, so double clicking in the left column starts editing the associated value. BUG: fix file path editor so it goes away when focus is lost
* ENH: For Mac OSX -- add app icon, and implement find of cmake executable.Clinton Stimpson2007-11-071-1/+2
|
* ENH: Disable menu/buttons when doing configure.Clinton Stimpson2007-11-071-0/+10
| | | | | | | | Also disable generate until configure is done. Save more settings (last 10 binary directories, exit after generate, last generator) Some UI tweaks for better layout. Support drag & drop of CMakeLists.txt/CMakeCache.txt files.
* ENH: Add menus in menu bar.Clinton Stimpson2007-11-061-0/+24
| | | | | | | | Add reload & delete cache options. Add option to quit after generation step (not yet remembered between sessions). Add Help -> About Remove Help button (in menu now) Remove Cancel button (File -> Exit and the Window 'X' button exist)
* ENH: Prompt user for generator when there is none.Clinton Stimpson2007-11-051-13/+54
| | | | Many minor improvements, bug fixes, and style fixes.
* ENH: Allow working with empty build directories.Clinton Stimpson2007-11-031-10/+16
| | | | | | Make output window a bit smaller compared to cache view. Prompt on X'ing window as well as hitting cancel. Color new cache values red, and put them first.
* ENH: Add interrupt button near progress bar.Clinton Stimpson2007-11-031-10/+18
| | | | | | | | | | | | Implement help button. Implement cancel button. Add scrollable output window. Replace ON/OFF & combobox editors with checkboxes. Tab/backtab in cache table jumps between values (not names and values) Add tooltips to show help strings. Add application icon and qtmain for Windows. BUG: Fix save of cache values on configure.
* STYLE: Add license info to code.Clinton Stimpson2007-11-021-0/+16
|
* ENH: Beginnings of a Qt UI for CMake.Clinton Stimpson2007-11-021-0/+179