summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmake_parse_arguments-PARSE_ARGV-multi-value'Brad King2016-09-296-21/+115
|\ | | | | | | | | | | 66c70cd9 cmake_parse_arguments: Add additional unit tests 41291b20 cmake_parse_arguments: Fix PARSE_ARGV multi-value argument handling
| * cmake_parse_arguments: Add additional unit testsMatthew Woehlke2016-09-285-29/+84
| | | | | | | | Add additional unit tests for some corner cases in argument splitting.
| * cmake_parse_arguments: Fix PARSE_ARGV multi-value argument handlingMatthew Woehlke2016-09-282-4/+43
| | | | | | | | | | | | | | | | | | The `PARSE_ARGV` mode was recently added to help functions properly parse their arguments even when those arguments may be quoted and contain literal `;` in their values. Fix the implementation to encode `;`s in reported multi-value arguments and in `UNPARSED_ARGUMENTS` so that `;`s in the individual values are preserved in the lists. This allows clients to access all their argument values correctly.
* | Merge topic 'cmake-server-commands'Brad King2016-09-2913-22/+952
|\ \ | | | | | | | | | | | | | | | | | | | | | 71a50587 server-mode: Add project data for unit tests 7b1e60f2 server-mode: Report CMakeCache entries 84553a6e server-mode: Add command to retrieve build system files ead71873 server-mode: Report information relevant for a codemodel
| * | server-mode: Add project data for unit testsTobias Hunger2016-09-289-20/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | Do some basic unit tests for "codemodel", "cmakeInputs" and "cache" commands of the cmake server. This just calls the commands right now and makes sure the server thinks it can reply to the request. The data itself is currently not validated.
| * | server-mode: Report CMakeCache entriesTobias Hunger2016-09-284-0/+107
| | | | | | | | | | | | | | | With this it would be possible to implement something like cmake-gui using server-mode.
| * | server-mode: Add command to retrieve build system filesTobias Hunger2016-09-284-2/+144
| | | | | | | | | | | | Add a command to retrieve files that are input to cmake itself.
| * | server-mode: Report information relevant for a codemodelTobias Hunger2016-09-284-0/+593
| |/ | | | | | | | | Add "codemodel" command to report information relevant to feed a code model.
* | Merge topic 'FindCxxTest-no-unix-interp'Brad King2016-09-291-2/+9
|\ \ | | | | | | | | | | | | 32ee69c5 FindCxxTest: Do not run cxxtestgen through interpreter unless necessary
| * | FindCxxTest: Do not run cxxtestgen through interpreter unless necessaryBrad King2016-09-281-2/+9
| |/ | | | | | | | | | | | | | | | | | | On platforms that support shebang lines the `cxxtestgen` script should be able to execute without an explicit interpreter. Do this if possible so that the proper interpreter specified by the shebang line is honored. Ideally we shouldn't even need to find `python` in this case, but that will be a larger change better made by a dedicated module maintainer. Closes: #16331
* | Merge topic 'vs-clang-llvm-support'Brad King2016-09-292-3/+4
|\ \ | | | | | | | | | | | | 3f300b84 VS: Recognize VS/LLVM toolset names as Clang
| * | VS: Recognize VS/LLVM toolset names as ClangRoman Wüger2016-09-282-3/+4
| | | | | | | | | | | | | | | | | | Update the toolset name matching added by commit v3.6.0-rc1~279^2~10 (VS: in Clang/C2 toolset, setup correct compiler settings, 2016-02-18) to match VS/LLVM toolset names too.
* | | Merge topic 'fix-explicit-RC'Brad King2016-09-295-13/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | 9c5238df project: Fix support for explicit RC language 40c04821 Tests: Decide earlier whether to test resources
| * | | project: Fix support for explicit RC languageBrad King2016-09-284-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check added in commit v3.6.0-rc1~293^2 (Diagnose recursive project/enable_language without crashing, 2016-03-07) broke support for enabling `RC` explicitly along with other languages like `C`. The reason is that we enable all listed languages at once so the internal `enable_language(RC)` that we do while enabling `C` or `CXX` on some platforms triggers the recursion check if `RC` is explicitly listed. Ideally we should refactor things to only enable one language at a time, but for now it is simplest to just exclude `RC` from the explicit list until other languages are enabled, and then enable it. Closes: #16330
| * | | Tests: Decide earlier whether to test resourcesBrad King2016-09-281-11/+12
| | |/ | |/| | | | | | | Provide a CMake_TEST_RESOURCES variable storing the decision.
* | | Merge topic 'suppress-pgi-warnings'Brad King2016-09-292-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | f4162856 CompileFlags: Tell PGI compiler not to issue warning diagnostics 09a6bd82 CTestCustom: Suppress PGI IPA warnings
| * | | CompileFlags: Tell PGI compiler not to issue warning diagnosticsBrad King2016-09-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When hosting CMake's own build with the PGI compiler there are several warnings that cannot easily be fixed or suppressed. We have enough code quality tools and warnings from other compilers that it is unlikely a PGI-only warning is useful.
| * | | CTestCustom: Suppress PGI IPA warningsBrad King2016-09-281-0/+1
| | | |
* | | | Merge topic 'cpack-rpm-test-source-newline'Brad King2016-09-291-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | af35ddc8 Tests: Add newline to RunCMake.CPack_RPM SOURCE_PACKAGE case
| * | | | Tests: Add newline to RunCMake.CPack_RPM SOURCE_PACKAGE caseBrad King2016-09-281-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | The `main.cpp` that this test generates needs a newline so that compilers do not warn about a missing newline. Otherwise the warning causes RunCMake infrastructure to detect unexpected output.
* | | | CMake Nightly Date StampKitware Robot2016-09-291-1/+1
| |/ / |/| |
* | | Merge topic 'CONTRIBUTING-use-gitlab'Brad King2016-09-281-9/+15
|\ \ \ | |/ / |/| | | | | | | | | | | 03bd9895 CONTRIBUTING: Document contribution through the Kitware GitLab Instance 2cbfb5c7 CONTRIBUTING: Reference clang-format helper script for code style
| * | CONTRIBUTING: Document contribution through the Kitware GitLab InstanceBrad King2016-09-281-9/+13
| | | | | | | | | | | | | | | Replace the instructions that routed patches to the mailing list with new instructions routing them to our GitLab instance.
| * | CONTRIBUTING: Reference clang-format helper script for code styleBrad King2016-09-281-0/+2
|/ /
* | Merge topic 'win64-binary-docs'Brad King2016-09-281-1/+0
|\ \ | | | | | | | | | | | | 93300f36 Utilities/Release: Add html docs to Windows 64-bit binary
| * | Utilities/Release: Add html docs to Windows 64-bit binaryBrad King2016-09-281-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | The 64-bit Windows binary is built in our second batch because it is built on the same host as the 32-bit Windows binary. When the documentation generation was first added, it was not included in the second batch because at the time that batch only included the Cygwin binary. Therefore the 64-bit Windows binary has been missing the documentation since it was first created for CMake 3.6. Since then the Cygwin binary was dropped so the second batch only contains the 64-bit Windows binary. Add the docs to it. Closes: #16333
* | Merge topic 'simplify-license-notices'Brad King2016-09-281268-15041/+2885
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19671831 Help: Update cmake-developer(7) module license docs for new notice 756169ac Tests: Update ModuleNotices test for new notice 845d86bc Utilities/Scripts: Remove temporary script that filtered license notices 86578ecc Simplify CMake per-source license notices b7180cfe Utilities/Scripts: Add temporary script to filter license notices 7feb4ecc Copyright.txt: Add notice of copyright by contributors 78f77f60 Utilities/KWStyle: Remove unused header check reference file 681e0429 Tests: Fix RunCMake.CTest output match to tolerate line number changes
| * | Help: Update cmake-developer(7) module license docs for new noticeBrad King2016-09-271-43/+24
| | |
| * | Tests: Update ModuleNotices test for new noticeBrad King2016-09-271-18/+5
| | |
| * | Utilities/Scripts: Remove temporary script that filtered license noticesBrad King2016-09-271-49/+0
| | |
| * | Simplify CMake per-source license noticesBrad King2016-09-271263-14955/+2779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Utilities/Scripts: Add temporary script to filter license noticesBrad King2016-09-271-0/+49
| | | | | | | | | | | | | | | | | | Add a script to replace our previous per-source license notices with a much simpler notice. This will be used in a following commit and then removed.
| * | Copyright.txt: Add notice of copyright by contributorsBrad King2016-09-271-11/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not require copyright assignment for contributions to CMake. Update the top-level notice to mention "Contributors" explicitly. Add a list of the Contributors whose names already appear in source-level copyright notices. Find the list with the command: $ git grep -h 'Copyright[^.]' -- *.* \ Auxiliary Modules Packaging Source Templates Tests \ | grep -v Kitware | sed 's/^#\? *//' | sort | uniq Manually refine the list to de-duplicate entries and filter out notices from third-party code.
| * | Utilities/KWStyle: Remove unused header check reference fileBrad King2016-09-271-11/+0
| | | | | | | | | | | | We do not actually run a check for this.
| * | Tests: Fix RunCMake.CTest output match to tolerate line number changesBrad King2016-09-271-3/+3
| |/
* | Merge topic 'GNUInstallDirs-more-BSD'Brad King2016-09-281-1/+1
|\ \ | | | | | | | | | | | | 956054ae GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages
| * | GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pagesDmitry Marakasov2016-09-271-1/+1
| | |
* | | Merge topic 'findjni'Brad King2016-09-281-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 59eb75d9 FindJNI: Add aarch32 path on arm
| * | | FindJNI: Add aarch32 path on armOrion Poplawski2016-09-271-1/+1
| |/ /
* | | Merge topic 'silent-nsis-installs'Brad King2016-09-281-2/+2
|\ \ \ | | | | | | | | | | | | | | | | cb8db285 CPack/NSIS: Fix silent NSIS installs
| * | | CPack/NSIS: Fix silent NSIS installsCraig Scott2016-09-271-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The installer should not put up a message box to confirm uninstall of a previous version for silent installs. Furthermore, when the uninstaller is invoked, do not show its confirmation dialog because either (a) the installer already asked the user or (b) the installer is running in silent mode. Closes: #16328
* | | CMake Nightly Date StampKitware Robot2016-09-281-1/+1
| |/ |/|
* | Merge topic 'cpack-rpm-debuginfo-sources'Brad King2016-09-274-22/+253
|\ \ | | | | | | | | | | | | | | | | | | 39c7d62c CPack/RPM debuginfo packaging documentation dd3c938a CPack/RPM debuginfo directories to sources b78fcf0d CPack/RPM debuginfo packages must contain sources
| * | CPack/RPM debuginfo packaging documentationDomen Vrankar2016-09-271-8/+90
| | |
| * | CPack/RPM debuginfo directories to sourcesDomen Vrankar2016-09-272-4/+32
| | | | | | | | | | | | | | | | | | List of sources must be split into paths parts so that debuginfo package cleans up after itself.
| * | CPack/RPM debuginfo packages must contain sourcesDomen Vrankar2016-09-274-14/+135
| | | | | | | | | | | | | | | Issue #15668 fix was missing relevant source files in debuginfo package.
* | | Merge topic 'suppress-pgi-warnings'Brad King2016-09-271-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | 89c20300 CTestCustom: Suppress PGI warnings in generated Lexer/Parser code 965eb50c CTestCustom: Suppress PGI compiler warning summary line
| * | | CTestCustom: Suppress PGI warnings in generated Lexer/Parser codeBrad King2016-09-261-0/+1
| | | |
| * | | CTestCustom: Suppress PGI compiler warning summary lineBrad King2016-09-261-0/+2
| | |/ | |/| | | | | | | | | | We will match/ignore the actual warning lines, if any, so we can always ignore the summary line if present.
* | | Merge topic 'index-directories'Brad King2016-09-272-6/+27
|\ \ \ | | | | | | | | | | | | | | | | cda8c782 cmGlobalGenerator: Optimize FindMakefile method with an index