summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: Simplify generation of custom target logical pathBrad King2016-05-171-9/+4
| | | | | | In `AppendTargetOutputs` we generate a logical build target name for each UTILITY command. Simplify the logic to avoid testing the result of `ConvertToNinjaPath`.
* Merge topic 'clang-format-source'Brad King2016-05-17758-78042/+56831
|\ | | | | | | | | | | | | | | | | | | d9fd2f54 Revise C++ coding style using clang-format 82df6dea Empty commit at end of history preceding clang-format style transition 6a13f43f CONTRIBUTING: Add a section on coding style bf451d9f Add a script to run clang-format on the entire source tree 1e90d78f Configure clang-format for CMake source tree da60adc3 Tell Git to use a distinct conflict marker size in `.rst` files
| * Revise C++ coding style using clang-formatKitware Robot2016-05-16758-78042/+56831
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'clang-format-prep'Brad King2016-05-171-12/+12
|\ \ | |/ | | | | | | c7006d2e cmGeneratorTarget: Protect macro code layout from clang-format
| * cmGeneratorTarget: Protect macro code layout from clang-formatBrad King2016-05-161-12/+12
| | | | | | | | | | | | | | The `IMPLEMENT_VISIT_IMPL` macro must preserve a space before the `>` character in case the `DATATYPE` is a template type ending in `>`. Manually format the macro layout as clang-format would except for this space. Then add markup to tell clang-format not to format this macro.
* | CMake Nightly Date StampKitware Robot2016-05-171-1/+1
|/
* Merge topic 'cpack-rpm-different-package-names'Brad King2016-05-162-31/+44
|\ | | | | | | | | 44ee2d71 CPack/RPM different package names
| * CPack/RPM different package namesDomen Vrankar2016-05-152-31/+44
| | | | | | | | | | | | | | | | Packagers may now set their own rpm package file names or request that rpmbuild tool chooses one for them. It also supports handing of situations where one spec file may produce multiple rpm packages.
* | Merge topic 'cpack-deb-improvements'Brad King2016-05-162-38/+117
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4461e8bb CPack/Deb cpack-deb-improvements release notes 7e940bf7 CPack/Deb test changes due to breaking changes 3b648894 CPack/Deb package release number in file name 316dd613 CPack/Deb proper package file naming 271e03f0 CPack/Deb per-component package architecture 23baaf8d CPack/Deb inter package dependencies 3a55a0e7 CPack/Deb proper component packages file naming c7f388e7 CPack/Deb generation of postinst and postrm ldconfig files 2d589653 CPack/Deb generation of DEBIAN/shlibs control file
| * | CPack/Deb proper package file namingDomen Vrankar2016-05-132-29/+21
| | | | | | | | | | | | | | | Proper Debian packages file naming for single package setup (breaks compatibility with previous versions)
| * | CPack/Deb proper component packages file namingAlexander Smorkalov2016-05-131-2/+9
| | | | | | | | | | | | | | | Proper Debian packages file naming for multi-component setup (breaks compatibility with previous versions)
| * | CPack/Deb generation of postinst and postrm ldconfig filesAlexander Smorkalov2016-05-131-0/+56
| | | | | | | | | | | | | | | | | | DEBIAN/postinst and DEBAIN/postrm files generation if the package installs libraries in ldconfig controlled location (/lib/, /usr/lib/)
| * | CPack/Deb generation of DEBIAN/shlibs control fileAlexander Smorkalov2016-05-131-7/+31
| | | | | | | | | | | | | | | DEBIAN/shlibs control file generation if the package contains libraries
* | | Merge topic 'link-item-interface-not-path'Brad King2016-05-161-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 9cb263d7 cmComputeLinkInformation: Do not mark interface library as a path
| * | | cmComputeLinkInformation: Do not mark interface library as a pathBrad King2016-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The empty string we add as a link item for an INTERFACE_LIBRARY target is not a path, so do not mark it as such. The generators currently tolerate it either way, but only by accident.
* | | | CMake Nightly Date StampKitware Robot2016-05-161-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-05-151-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2016-05-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-05-131-1/+1
|/ /
* | Merge topic 'ctest-suppress-Note'Brad King2016-05-121-0/+1
|\ \ | | | | | | | | | | | | eafe541f CTest: Do not treat "Note: ..." lines as errors (#14394)
| * | CTest: Do not treat "Note: ..." lines as errors (#14394)Brad King2016-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise CTest interprets the Qt5 moc tool output Note: No relevant classes found. No output generated. as a compiler error.
* | | Merge topic 'cmake-gui-locale'Brad King2016-05-121-0/+2
|\ \ \ | | | | | | | | | | | | | | | | cab095e1 cmake-gui: Always use "C" locale for numbers (#16099)
| * | | cmake-gui: Always use "C" locale for numbers (#16099)Clinton Stimpson2016-05-121-0/+2
| |/ / | | | | | | | | | | | | | | | Set LC_NUMERIC = "C" at startup after Qt initializes the application because Qt may have adopted the current locale from the environment. CMake does not define behavior for non-C-locale numeric behavior.
* | | CMake Nightly Date StampKitware Robot2016-05-121-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2016-05-111-1/+1
| |
* | Merge topic 'find-command-prefix-from-PATH-windows-only'Brad King2016-05-101-2/+8
|\ \ | |/ |/| | | | | b30b32a4 Drop find_(library|file|path) prefixes from PATH on non-Windows
| * Drop find_(library|file|path) prefixes from PATH on non-WindowsBrad King2016-05-091-2/+8
| | | | | | | | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~430^2 (Teach find_(library|file|path) to get prefixes from PATH, 2015-02-18) we search in <prefix>/include and <prefix>/lib directories for prefixes with bin directories in the PATH environment variable. The motivation was to support MSYS, MinGW and similar Windows platforms in their default environments automatically. At the time this behavior was thought to be worthwhile in general. Suggested-by: Chuck Atkins <chuck.atkins@kitware.com>
* | CMake Nightly Date StampKitware Robot2016-05-101-1/+1
|/
* Remove `//------...` horizontal separator commentsBrad King2016-05-09217-2623/+0
| | | | | | | | | | | | | | | | | | | | | | | | Modern editors provide plenty of ways to visually separate functions. Drop the explicit comments that previously served this purpose. Use the following command to automate the change: $ git ls-files -z -- \ "*.c" "*.cc" "*.cpp" "*.cxx" "*.h" "*.hh" "*.hpp" "*.hxx" | egrep -z -v "^Source/cmCommandArgumentLexer\." | egrep -z -v "^Source/cmCommandArgumentParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmDependsJavaLexer\." | egrep -z -v "^Source/cmDependsJavaParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmExprLexer\." | egrep -z -v "^Source/cmExprParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmFortranLexer\." | egrep -z -v "^Source/cmFortranParser(\.y|\.cxx|Tokens\.h)" | egrep -z -v "^Source/cmListFileLexer\." | egrep -z -v "^Source/cm_sha2" | egrep -z -v "^Source/(kwsys|CursesDialog/form)/" | egrep -z -v "^Utilities/(KW|cm).*/" | xargs -0 sed -i '/^\(\/\/---*\|\/\*---*\*\/\)$/ {d;}' This avoids modifying third-party sources and generated sources.
* Merge topic 'custom-command-CROSSCOMPILING_EMULATOR'Brad King2016-05-092-2/+33
|\ | | | | | | | | 8c2cedc6 CustomCommandGenerator: Add support for CROSSCOMPILING_EMULATOR
| * CustomCommandGenerator: Add support for CROSSCOMPILING_EMULATORJean-Christophe Fillion-Robin2016-05-092-2/+33
| | | | | | | | | | | | Teach the `add_custom_command` and `add_custom_target' commands to substitute argv0 with the crosscompiling emulator if it is a target with the `CROSSCOMPILING_EMULATOR` property set.
* | Merge topic 'clang-format-prep'Brad King2016-05-0954-13/+314
|\ \ | | | | | | | | | | | | | | | | | | afca3735 Help clang-format wrap after braces on long initializer lists 85425a3e Move comments off of class access specifier lines 64b55203 Isolate formatted streaming blocks with clang-format off/on
| * | Help clang-format wrap after braces on long initializer listsBrad King2016-05-064-0/+4
| | | | | | | | | | | | | | | | | | Add a long comment inside a few braced initializer lists in order to convince clang-format to break after the opening brace and format the list without indenting every value past the opening brace.
| * | Move comments off of class access specifier linesBrad King2016-05-065-13/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The clang-format tool may turn this: public: // comment about access specifier // unrelated comment indented with code ... Into: public: // comment about access specifier // unrelated comment indented with code ... Avoid this by moving comments off of access specifier lines.
| * | Isolate formatted streaming blocks with clang-format off/onBrad King2016-05-0646-0/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The clang-format tool can do a good job formatting most code, but well-organized streaming blocks are best left manually formatted. Find blocks of the form os << "...\n" "...\n" ; using the command $ git ls-files -z -- Source | egrep -v -z '^Source/kwsys/' | xargs -0 pcregrep -M --color=always -B 1 -A 1 -n \ '<<[^\n]*\n(^ *("[^\n]*("|<<|;)$|;)\n){2,}' Find blocks of the form os << "...\n" << "...\n" << "...\n"; using the command $ git ls-files -z -- Source | egrep -v -z '^Source/kwsys/' | xargs -0 pcregrep -M --color=always -B 1 -A 1 -n \ '<<[^\n]*\n(^ *<<[^\n]*(\\n"|<<|;)$\n){2,}' Surround such blocks with the pair /* clang-format off */ ... /* clang-format on */ in order to protect them from update by clang-format. Use the C-style `/*...*/` comments instead of C++-style `//...` comments in order to prevent them from ever being swallowed by re-formatting of surrounding comments.
* | | Merge topic 'fix-export-unset'Brad King2016-05-091-0/+3
|\ \ \ | | | | | | | | | | | | | | | | f45c16e7 Fix export file variable pollution
| * | | Fix export file variable pollutionMatthew Woehlke2016-05-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing unset of scratch variables to generated export file for case that the file was already included. We already unset these when parsing the file normally, but the multiple inclusion case was leaving them around.
* | | | CMake Nightly Date StampKitware Robot2016-05-091-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-05-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-05-071-1/+1
| |/ / |/| |
* | | Merge topic 'ghs-hash-object-locations'Brad King2016-05-064-24/+85
|\ \ \ | | | | | | | | | | | | | | | | 5e428713 GHS: Shorten long object paths with duplicate source names
| * | | GHS: Shorten long object paths with duplicate source namesGeoff Viola2016-05-064-24/+85
| |/ / | | | | | | | | | | | | Detect when the resulting object path is too long and compute an alternative name using a hash.
* | | CMake Nightly Date StampKitware Robot2016-05-061-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2016-05-051-1/+1
| |
* | CMake Nightly Date StampKitware Robot2016-05-041-1/+1
|/
* Merge topic 'doc-cmake-E-updates'Brad King2016-05-031-1/+1
|\ | | | | | | | | | | 960afaad Help: Improve 'cmake -E md5sum' documentation 25ee2c86 Help: Add missing space in cmake(1) manual
| * Help: Improve 'cmake -E md5sum' documentationBartosz Kosiorek2016-05-021-1/+1
| |
* | Merge topic 'doc-cmake-policies-manual-improvements'Brad King2016-05-033-4/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | 5f948d2a Help: Add policy summaries to cmake-policies(7) b74d73e5 Help: Organize cmake-policies(7) manual by version of introduction de370656 cmRST: Parse toctree lines with Sphinx cross-reference syntax 845cb217 CMP0059: Fix typo in policy description
| * | cmRST: Parse toctree lines with Sphinx cross-reference syntaxBrad King2016-05-022-3/+14
| | |
| * | CMP0059: Fix typo in policy descriptionBrad King2016-05-021-1/+1
| |/