summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PCH: add example/testDaniel Pfeifer2019-08-275-0/+45
|
* PCH: add target_precompile_headers commandDaniel Pfeifer2019-08-275-0/+84
|
* PCH: add PRECOMPILE_HEADERS to special propertiesDaniel Pfeifer2019-08-266-1/+106
|
* Merge topic 'pvs-cleanup'Brad King2019-08-268-45/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7fe3e874d5 cmCPackLog: Fix support for multiple log message tags 74f2c0ea56 cmCTestTestHandler: Remove extra layer of parentheses 7c2767ef3b cmCTestMultiProcessHandler: Explain testRun ownership in comments 303e813438 CTest: Simplify some boolean conditions 51565abe79 cmMessageCommand: Remove extra layer of parentheses b1cfaf7b91 cmVSSetupHelper: Remove unused SmartBSTR copy operations 3f4c4e7afe cmVSSetupHelper: Fix SmartBSTR copy operations a8ca5aea94 cmMakefileTargetGenerator: Check for null before using a pointer ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Artalus <artalus-mail@yandex.ru> Merge-request: !3715
| * cmCPackLog: Fix support for multiple log message tagsBrad King2019-08-261-5/+5
| | | | | | | | | | | | | | | | Fix logic from commit bbf1c2d275 (ENH: More improvements and add logging, 2006-01-02, v2.4.0~712) to append to the accumulated tag string instead of overwriting it for each type of message. Issue: #19610
| * cmCTestTestHandler: Remove extra layer of parenthesesBrad King2019-08-261-1/+1
| | | | | | | | | | | | | | | | A condition in `ComputeTestListForRerunFailed` contained an extra layer of parentheses. Remove them. The condition itself is correct because an empty list means "all tests" so we want to include the current test. Issue: #19610
| * cmCTestMultiProcessHandler: Explain testRun ownership in commentsBrad King2019-08-261-0/+3
| | | | | | | | | | | | | | | | The ownership semantics of the 'testRun' variable are subtle and may fool static analysers. Add comments explaining them for now. Later some refactoring could be done to clarify the code. Issue: #19610
| * CTest: Simplify some boolean conditionsBrad King2019-08-262-4/+2
| | | | | | | | | | | | | | Directly compare two boolean values instead of spelling out accepted combinations. Issue: #19610
| * cmMessageCommand: Remove extra layer of parenthesesBrad King2019-08-261-2/+2
| | | | | | | | | | | | | | | | | | The logic checking `CMAKE_WARN_DEPRECATED` contained an unnecessary layer of parentheses. The condition is of the form `!IsSet || IsOn` which is correct because the documentation says that the behavior is enabled unless the variable is explicitly set to a false value. Issue: #19610
| * cmVSSetupHelper: Remove unused SmartBSTR copy operationsBrad King2019-08-261-22/+2
| | | | | | | | | | For our use case we do not actually need to copy these. Mark the operations as `= delete` to simplify the code.
| * cmVSSetupHelper: Fix SmartBSTR copy operationsBrad King2019-08-261-2/+4
| | | | | | | | | | | | | | | | | | Fix the SmartBSTR copy constructor and copy assignment operator added by commit 18c8278b62 (VS: Add helper class to interact with Visual Studio Installer, 2016-12-14, v3.8.0-rc1~93^2~4) to use the string from the source of the copy. Issue: #19610
| * cmMakefileTargetGenerator: Check for null before using a pointerBrad King2019-08-261-4/+4
| | | | | | | | | | | | | | | | Fix the order of logic added by commit 7740ccd1a4 (ENH: some cleanup of the makefile generator, 2006-02-14, v2.4.0~517) to check for allocation failure ('new' returns null) before using the pointer. Issue: #19610
| * cmGlobalVisualStudioGenerator: Fix buffer sizes used with RegEnumKeyExWBrad King2019-08-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | In commit 0b9906c2fb (Windows: Use wide-character system APIs, 2013-12-04, v3.0.0-rc1~254^2) several buffer size computations had to be updated to multiply by `sizeof(wchar_t)`, but for RegEnumKeyExW we were already computing the correct number of characters with a division which was accidentally converted to a multiplication. Use `cm::size` to compute the number of characters in the buffer instead. Issue: #19610
| * cmGlobalVisualStudioGenerator: Fix buffer sizes used RegQueryValueExWBrad King2019-08-221-5/+4
| | | | | | | | | | | | | | | | | | In commit 0b9906c2fb (Windows: Use wide-character system APIs, 2013-12-04, v3.0.0-rc1~254^2) several buffer size computations had to be updated to multiply by `sizeof(wchar_t)`, but some for RegQueryValueExW were incorrect because the number of bytes was already computed. Issue: #19610
* | Merge topic 'source_sweep_ostringstream_single'Brad King2019-08-2624-153/+92
|\ \ | | | | | | | | | | | | | | | | | | 3b2b02825d Source sweep: Replace std::ostringstream when used with a single append Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3726
| * | Source sweep: Replace std::ostringstream when used with a single appendSebastian Holtermann2019-08-2324-153/+92
| | | | | | | | | | | | | | | | | | | | | This replaces `std::ostringstream`, when it is written to only once. If the single written argument was numeric, `std::to_string` is used instead. Otherwise, the single written argument is used directly instead of the `std::ostringstream::str()` invocation.
* | | Merge topic 'source_sweep_cmExpandedList'Brad King2019-08-2662-318/+186
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | aaf59120bf Source sweep: Replace cmExpandList with the shorter cmExpandedList Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3725
| * | | Source sweep: Replace cmExpandList with the shorter cmExpandedListSebastian Holtermann2019-08-2362-318/+186
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the code pattern ``` std::vector<std::string> args; cmExpandList(valueStr, args, ...) ``` with ``` std::vector<std::string> args = cmExpandedList(valueStr, ...) ```
* | | Merge topic 'FindLibLZMA-windows-debug'Brad King2019-08-261-6/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 232f5bd644 FindLibLZMA: Find debug/release variants on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3714
| * | | FindLibLZMA: Find debug/release variants on WindowsBraden McDaniel2019-08-231-6/+39
| | | |
* | | | Merge topic 'list-subcommand-table'Brad King2019-08-261-111/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b14bcd9123 cmListCommand: Use cmSubcommandTable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3723
| * | | | cmListCommand: Use cmSubcommandTableRegina Pfeifer2019-08-221-111/+43
| | |_|/ | |/| |
* | | | Merge topic 'string-subcommand-table'Brad King2019-08-261-130/+65
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66c2714f22 cmStringCommand: Use cmSubcommandTable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3721
| * | | | cmStringCommand: Use cmSubcommandTableRegina Pfeifer2019-08-221-130/+65
| |/ / /
* | | | Merge topic 'cpack-stgz-license-prompt'Brad King2019-08-261-9/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c8741eb86 CPack/STGZ: Require explicit acceptance or refusal of license Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3717
| * | | | CPack/STGZ: Require explicit acceptance or refusal of licensesidju2019-08-231-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make using the generated STGZ easier, require a specific answer to accepting the license terms. Since more moves down one line when '\n' is entered a user may hold enter to paginate through the document. This change prevents the user from accidentally refusing the license terms by holding enter for too long and having to start over.
* | | | | Merge topic 'group_not_track'Brad King2019-08-2624-58/+109
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a71a0390c ctest: rename TRACK to GROUP Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3707
| * | | | | ctest: rename TRACK to GROUPZack Galbreath2019-08-2224-58/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update command-line options, script variables, and documentation to use the term "group" instead of "track". The old terms are still available for now, but they are now undocumented. This makes our terminology more consistent with CDash. The goal of this change is to make it more clear to our users how CTest and CDash interact with each other.
* | | | | | Merge topic 'warnings_skip_color'Brad King2019-08-267-11/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2079267959 ctest_build: ignore ANSI color Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3702
| * | | | | | ctest_build: ignore ANSI colorZack Galbreath2019-08-227-11/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore ANSI color when scraping logs for errors and warnings
* | | | | | | Merge topic 'optional'Brad King2019-08-266-2/+1088
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 197c5e12ad Source: Add cm::optional 170fcd715f Extend C++17 feature checks to require std::optional Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sebastian Holtermann <sebholt@web.de> Merge-request: !3644
| * | | | | | | Source: Add cm::optionalKyle Edwards2019-08-234-0/+1069
| | | | | | | |
| * | | | | | | Extend C++17 feature checks to require std::optionalBrad King2019-08-232-2/+19
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'cmake-msvc-runtime-library'Brad King2019-08-266-13/+28
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 74eef37bc7 Utilities/Release: Select MSVC runtime library via abstraction ed54d87789 Configure CMake itself with policies through CMake 3.15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3718
| * | | | | | | Utilities/Release: Select MSVC runtime library via abstractionBrad King2019-08-232-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the `CMAKE_MSVC_RUNTIME_LIBRARY` abstraction added by CMake 3.15 instead of hard-coding the `-MT` flag.
| * | | | | | | Configure CMake itself with policies through CMake 3.15Brad King2019-08-234-9/+26
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, set `CMP0091` to `NEW` to enable the MSVC runtime library abstraction so it can be set via `CMAKE_MSVC_RUNTIME_LIBRARY` in the cache.
* | | | | | | CMake Nightly Date StampKitware Robot2019-08-261-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-08-251-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-08-241-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge topic 'solaris-ldd'Brad King2019-08-231-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bb7453436 GetPrerequisites: match ldd output on Solaris Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3695
| * | | | | | GetPrerequisites: match ldd output on SolarisJon Chronopoulos2019-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solaris output is the following: ``` $ ldd /lib/libxml2.so libz.so.1 => /lib/libz.so.1 libm.so.2 => /lib/libm.so.2 libc.so.1 => /lib/libc.so.1 ``` While on Linux ``` $ ldd /usr/lib/libxml2.so linux-vdso.so.1 (0x00007ffe02bbe000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f03ab852000) libicuuc.so.64 => /usr/lib/libicuuc.so.64 (0x00007f03ab67a000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f03ab463000) liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f03ab23d000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f03ab0f7000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f03aaf34000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f03ab9fd000) libicudata.so.64 => /usr/lib/libicudata.so.64 (0x00007f03a94ee000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f03a94cd000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f03a92e5000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f03a92cb000) ```
* | | | | | | Merge topic 'gitattributes-bash-lf'Brad King2019-08-231-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a6e5ac5cf gitattributes: Use LF newlines in '.bash' files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3720
| * | | | | | | gitattributes: Use LF newlines in '.bash' filesBrad King2019-08-221-0/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge branch 'release-3.15'Brad King2019-08-230-0/+0
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'ctest-json-REQUIRED_FILES' into release-3.15Brad King2019-08-223-6/+20
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3719
| * \ \ \ \ \ \ \ Merge branch 'CrayPrgEnv-update-link-type-detection' into release-3.15Brad King2019-08-222-3/+24
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3716
* | \ \ \ \ \ \ \ \ Merge topic 'ctest-json-REQUIRED_FILES'Brad King2019-08-233-6/+20
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5778880d20 CTest: Fix --show-only=json-v1 output with REQUIRED_FILES property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3719
| * | | | | | | | | CTest: Fix --show-only=json-v1 output with REQUIRED_FILES propertyBrad King2019-08-223-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19629
* | | | | | | | | | Merge topic 'CrayPrgEnv-update-link-type-detection'Brad King2019-08-232-3/+24
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 971c778213 CrayPrgEnv: Change default linking mode based on PE version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3716
| * | | | | | | | | CrayPrgEnv: Change default linking mode based on PE versionChuck Atkins2019-08-222-3/+24
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beginning with the 19.06 release of the Cray Programming Environment, the default linking mode on XC Cray systems is dynamic instead of static. This updates the CrayPrgEnv compiler wrappers to detect the PE version being used and behave accordingly.