summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.h
Commit message (Collapse)AuthorAgeFilesLines
* cmake-gui: Use cmake::Open to open generated projectGregor Jasny2017-10-131-1/+0
|
* CMakeSetupDialog: Pass QPoint by valueDaniel Pfeifer2017-06-081-1/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+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 button to open the generated projectNico Heßler2016-09-131-0/+2
| | | | | | Look for VS or Xcode project files at the top of the build tree. If present, enable an "Open Project" button to open them through the OS desktop services.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-3/+9
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Format include directive blocks and ordering with clang-formatBrad King2016-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Source: Stabilize include orderBrad King2016-04-291-0/+1
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* cmake-gui: Add options to control warning messagesMichael Scott2015-12-101-1/+2
| | | | | | | | | 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/+1
|
* cmake-gui: Remember variable type in Add EntrySergey Zolotarev2014-01-161-1/+2
| | | | | | | | | | | 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.
* cmake-gui: Add function for going to next error message in Output windowMarc Bartholomaeus2013-04-241-0/+1
| | | | | | Using new shortcuts: F8 (Visual Studio) and Ctrl-. (Eclipse) Signed-off-by: Alex Neundorf <neundorf@kde.org>
* cmake-gui: Add search functions to the context menu of the Output widgetMarc Bartholomaeus2013-04-241-0/+1
| | | | Signed-off-by: Alex Neundorf <neundorf@kde.org>
* cmake-gui: Add search functions for Output window (#9733)Marc Bartholomaeus2013-04-241-0/+4
| | | | Signed-off-by: Alex Neundorf <neundorf@kde.org>
* cmake-gui: add completion for the names when adding cache entriesAlex Neundorf2011-11-191-0/+2
| | | | | | | | | | Up to 100 completion strings for the names of added variables are saved in the settings, so it will remember the variables you are usually adding. It also ensures that CMAKE_INSTALL_PREFIX is always there, since this is maybe the one which is set most often. Alex
* Remove trailing whitespaceAlex Neundorf2011-11-191-4/+4
| | | | Alex
* Merge topic 'dev/strict-mode'Brad King2011-01-271-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd2f814 Merge branch 'dev/add_test-working-directory' into dev/strict-mode 949d32c Unwatch manual variables upon removal in cmake-gui 3939032 Unwatch manual variables upon removal in ccmake 8354413 Add method to unwatch a manual variable 8ed3c85 Give a better message for unused variables 729db48 Fix ArgumentExpansion test expected results 89c2544 Checking for a definition is a usage 5625dee Don't output to stderr in the GUI ad25a96 Merge branch 'ImprovedDotSupport2' into dev/strict-mode c128abe Merge branch 'AddCMAKE_CURRENT_LIST_DIR' into dev/strict-mode 9bcaff0 Merge branch 'cmake-guiRememberAdvancedCheckbox' into dev/strict-mode 544d0c3 Fix expected output for WarnUninitialized test 4e3bea4 Update expected messages to new format 8e8c9e4 Don't check at destruction for usage 668e005 Use cmake::IssueMessage for warnings 88cd4c1 Use 'CMake Warning' versus 'warning' for CDash 3c3b98d Initialize the class before setting warn flags cf8b15a Ignore files under the CMakeFiles directory fd50f06 Don't check for unused vars at configure time 447a04c Don't warn during configure when doing everything b97ee21 Check for unused variables at the end of generate c18c977 When checking for variables, specify a reason 3f1121f Use a long int since Line is a long as well 2507f93 Change the failure case string to 'Unexpected' fe390a2 Add 'ArgumentExpansion' test 8dbb209 Wrong boolean value for CLI warnings d4ee998 Hard-code the --no-warn-unused-cli flag a267b99 Fix line lengths 82ed104 Flag that the directories have been set 5aa535b Add argument to arg parsing to not set directories 367e5c3 Revert "Revert "When calling CMake, set the args and the cache"" ab5d4e4 Revert "When calling CMake, set the args and the cache" 9b90040 When calling CMake, set the args and the cache fe56002 Fix long lines for KWStyle 5d30cfc Set a watch on variables added through the gui 33c63b1 Add a method to put a watch for variables 535253f Initialize the warning variables earlier cbb286c Fix the path detection to work for top-level 62be1f7 Initialize the usage stack earlier c6e7fab Factor out the checks for unused variables 5e41ba8 When using the API, check for Add vs. Remove dee1976 Fix typo in VariableUnusedViaUnset test f231ce5 Remove old false positive avoidance code a117e02 Revert "Add test for unused warnings at the end of scope" 2c82f2b Exempt CMAKE(CURRENT|PARENT)_LIST_FILE from usage 6d7d449 Ignore CLI warnings for ABI determination 7740a73 Only return local keys that are defined bef3aee Use the API so that warnings can be tracked 05cb0f4 Check for unused variables in the dtor 91c4c99 Add test for unused warnings at the end of scope ca90f67 Fix detection of unused variables when setting f7438ca Add test for unused detection via setting it 995cfb0 Don't warn if the variable wasn't defined aefc91d Add test for usage checks via unset a8e97f8 Remove VarRemoved code since it's been superceded 59463ef Rework CheckVariableForUnused usage f117423 Fix line lengths to be no more than 78 e49a935 Improve unused warning logic e01e40c Mark ARGC, ARGV*, and ARGN as used a17aff7 Ignore CMAKE_MATCH_* variables for usage 02a114d Add method to allow variables to be marked as used a0b0d23 CMAKE_DO_TRY_COMPILE is no longer used ae3eff3 Fix the path used for ignoring system warnings 056b441 Fix missing case for usage of a variable 980e048 Factor out checks for unused variables 83acb0a Remove now unused variables 3801463 Use built-ins for readability and maintainability 8b52015 Push the initialize and unused states when copying 439877f Be consistent with single and double quotes 4cf1706 Add documentation for check-system-vars b74777f Fix the spelling of the flag for warn-unused-vars b948120 Change logic of flag to turn off cli unused checks f047a17 Add test for uninitialized variables 75bda38 Add tests for unused command line variables 300fc15 Fix detection of system files d784e6a Run the unused variables check on the final pass 9efc057 VariableWatch is not available when bootstrapping 2e78224 Add a missing comma to the warning message 7499700 Add a flag to warn about system files fff9f6d Rename flags again and use variablewatch for cli 786e269 Add warn-unused to the Qt interface 636e6c4 Default to marking things as used 4ff0340 Rename find-unused to warn-unused d7999e9 Rename strict-mode to warn-uninitialized e141bc9 Detect unused variables d3e8eb5 Add flags to detect unused variables f332e14 Complete strict-mode checks for uninitialized vars 52f9637 Add method to get the local scope variables f794d58 Make --strict-mode option, and integrate with cmake-gui 48b5b85 Add a warning when variables are used uninitialized. cd626ea For macros make sure the FilePath points to a valid pointer in the args.
| * Rename flags again and use variablewatch for cliBen Boeckel2010-09-011-1/+0
| |
| * Add warn-unused to the Qt interfaceBen Boeckel2010-09-011-0/+2
| |
| * Rename strict-mode to warn-uninitializedBen Boeckel2010-09-011-1/+1
| |
| * Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-011-0/+1
| |
* | cmake-gui: always enable generate button.Clinton Stimpson2010-12-181-2/+10
|/
* ENH: Add simple grouped view.Clinton Stimpson2010-04-261-1/+2
|
* 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.
* fix focus fighting between search field and cache value editorsClinton Stimpson2009-09-041-0/+1
|
* ENH: Add a "Show my changes" to the Tools menu.Clinton Stimpson2009-07-171-0/+1
| | | | | Changes by the user are recorded and when requested, it shows -D arguments for commandline or contents for a cache file.
* ENH: Replace Advanced checkbox and group option in menu with a combo box toClinton Stimpson2008-07-051-1/+1
| | | | choose view type.
* ENH: Make original flat view the default.Clinton Stimpson2008-06-131-0/+1
| | | | Add option to switch to grouped view (and remember it).
* ENH: Add cross compiling support in the GUI in the same dialog that prompts forClinton Stimpson2008-05-151-3/+1
| | | | | | | | | | 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 issue when non-error messages were incorrectly colored red.Clinton Stimpson2008-04-141-0/+3
|
* BUG: Fix #6733. Always convert "\" to "/" in source & binary directory ↵Clinton Stimpson2008-04-071-0/+1
| | | | fields on Windows.
* ENH: add ability to create symlinks for command line on mac from guiBill Hoffman2008-04-031-0/+2
|
* ENH: Add debug output option to a new Options menu.Clinton Stimpson2008-04-021-0/+1
| | | | | Move dev warnings option to the new Options menu. Fixes #6335.
* ENH: Allow cancelling the dialog that prompts for the generator.Clinton Stimpson2008-04-021-1/+1
|
* ENH: add ability to suppress dev warnings to gui codeBill Hoffman2008-03-121-0/+3
|
* ENH: Add shortcut to start search/filter.Clinton Stimpson2008-02-141-0/+1
| | | | | | | | 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: make sure html < > & stuff is escaped for the output windowBill Hoffman2008-02-141-0/+1
|
* ENH: Use translation file if it exists for the locale.Clinton Stimpson2008-02-011-3/+0
| | | | | | | 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-0/+1
|
* BUG: Fix pause at shutdown.Clinton Stimpson2007-11-121-1/+6
| | | | | ENH: Remove interrupt button and make configure/generate turn to stop during runs. ENH: Add text to remove cache entry button.
* ENH: Re-arrange UI a bit.Clinton Stimpson2007-11-101-0/+2
| | | | BUG: Properly update when values that changed since the last configure.
* BUG: Don't prompt for unsaved changes if no changes were made.Clinton Stimpson2007-11-091-2/+3
| | | | ENH: Error messages go to output window instead of message boxes.
* ENH: remove status bar and move interrupt/progress next to configure/generate.Clinton Stimpson2007-11-071-2/+0
|
* BUG: Fix behavior of CMakeSetupDialog::set{Binary|Source}DirectoryClinton Stimpson2007-11-071-0/+2
| | | | | | | so they work right when called externally. Disable the generate button when one hits configure again. ENH: Some UI tweaks for spacing. Allow viewing cache values while configure/generate (but not edit).
* BUG: Put back read/write of original WhereBuild* settings.Clinton Stimpson2007-11-071-1/+6
| | | | | | ENH: Make public a couple functions to support command line args. Try removing exit after generate to see if others like it. COMP: Fix warnings.
* ENH: Disable menu/buttons when doing configure.Clinton Stimpson2007-11-071-1/+11
| | | | | | | | 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-1/+6
| | | | | | | | 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: search is case insensitiveClinton Stimpson2007-11-061-1/+2
| | | | | ENH: put back prompt for generator, and change combo to label showing current generator.
* ENH: Replace prompt for generator with combobox in UI.Clinton Stimpson2007-11-061-1/+1
| | | | | | ENH: Make "Show Advanced" toggle work. ENH: Add regex search capabilities. ENH: Read existing registry entries from MFC CMakeSetup.exe (will save later).
* ENH: Prompt user for generator when there is none.Clinton Stimpson2007-11-051-0/+25
| | | | Many minor improvements, bug fixes, and style fixes.
* ENH: Allow working with empty build directories.Clinton Stimpson2007-11-031-1/+1
| | | | | | 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.