summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zeroBrad King2016-11-181-3/+10
| | | | | | | | When using `<LANG>_CLANG_TIDY` our internal launcher for the tool must capture its return code and stderr and report them on failure. Otherwise incorrect command lines silently fail. Closes: #16435
* cmake: If ldd for LINK_WHAT_YOU_USE fails to run then report whyBrad King2016-11-181-3/+7
|
* cmake: Comment why we ignore the include-what-you-use return codeBrad King2016-11-181-0/+1
| | | | | | | | The include-what-you-use tool always returns non-zero to indicate that it did not actually produce an object file as Clang would from the same command line. Add a comment explaining that this is why we ignore its return code. Also update our `pseudo_iwyu` test suite tool to always exit with an error too.
* Merge topic 'improve_ctest_memcheck_output'Brad King2016-11-171-10/+22
|\ | | | | | | | | f0d50957 ctest: Improve output for `-T memcheck`
| * ctest: Improve output for `-T memcheck`Bill Hoffman2016-11-171-10/+22
| | | | | | | | | | Show how many defects each test that had a defect produced. Also tell the user where to find the full log files.
* | Merge topic 'update-kwsys'Brad King2016-11-172-1/+8
|\ \ | | | | | | | | | | | | | | | 451e9f93 Merge branch 'upstream-KWSys' into update-kwsys 572ac897 KWSys 2016-11-16 (a0c60eec)
| * | Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-11-162-1/+8
| | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2016-11-16 (a0c60eec)
* | | CMake Nightly Date StampKitware Robot2016-11-171-1/+1
|/ /
* | Merge topic 'ccmake_fix_print_keys'Brad King2016-11-162-49/+46
|\ \ | | | | | | | | | | | | | | | 5ca4abb2 ccmake: Correctly display edit mode and associated keys a9562eac ccmake: Add missing spaces to match the previous text length
| * | ccmake: Correctly display edit mode and associated keysSylvain Joubert2016-11-152-49/+46
| | | | | | | | | | | | | | | | | | | | | | | | Specific widgets can implement `PrintKeys` but their effects were hidden by the main widget `PrintKeys`. Fix this to give the user a better hint about the edit mode status. Closes: #13757
| * | ccmake: Add missing spaces to match the previous text lengthSylvain Joubert2016-11-151-1/+1
| | | | | | | | | | | | There was a "glitch" leaving "it" on the screen
* | | Merge topic 'vs-suppress-upgrade-prompt'Brad King2016-11-161-0/+10
|\ \ \ | | | | | | | | | | | | | | | | 7c8f7737 VS: Disable project upgrade prompt on VS 2013 and above
| * | | VS: Disable project upgrade prompt on VS 2013 and aboveErik Christensen2016-11-151-0/+10
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | When opening projects in Visual Studio that specify an older toolset version, a prompt is displayed the first time asking the user whether to upgrade the projects. This is meant for project files that are maintained manually and updated through the IDE. For CMake-generated projects this does not make sense, so add content to tell VS not to upgrade.
* | | Merge topic 'Empty_CTestTestfile_on_BUILD_TESTING_OFF'Brad King2016-11-161-4/+7
|\ \ \ | | | | | | | | | | | | | | | | ae4cfa8b Remove CTestTestfile.cmake when BUILD_TESTING is OFF
| * | | Remove CTestTestfile.cmake when BUILD_TESTING is OFFSylvain Joubert2016-11-151-4/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | When disabling BUILD_TESTING after a previous configure, the `CTestTestfile.cmake` was left unchanged. As a result, ctest would see the tests while the user disabled testing. Now when BUILD_TESTING is OFF any existing `CTestTestfile.cmake` is removed ensuring an empty test list.
* | | Merge topic 'childEncoding'Brad King2016-11-1620-54/+489
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f55fcdc8 CTest: Use UTF-8 encoding for output from Git 40bd42df Add Encoding option for RunChild, RunMakeCommand and RunProcess 595feb32 Windows: Encode child process output to internally-used encoding 96103972 Add cmProcessOutput class to be used for decoding text data 92c865b8 cmCTestBuildHandler: Use size_t in ProcessBuffer length argument
| * | | CTest: Use UTF-8 encoding for output from GitDāvis Mosāns2016-11-151-6/+11
| | | |
| * | | Add Encoding option for RunChild, RunMakeCommand and RunProcessDāvis Mosāns2016-11-1412-27/+47
| | | |
| * | | Windows: Encode child process output to internally-used encodingDāvis Mosāns2016-11-149-26/+196
| | | | | | | | | | | | | | | | | | | | | | | | Typically Windows applications (eg. MSVC compiler) use current console's codepage for output to pipes so we need to encode that to our internally-used encoding (`KWSYS_ENCODING_DEFAULT_CODEPAGE`).
| * | | Add cmProcessOutput class to be used for decoding text dataDāvis Mosāns2016-11-143-0/+240
| | | | | | | | | | | | | | | | | | | | This allows to decode text data we receive from external process which uses external encoding to our internal encoding.
| * | | cmCTestBuildHandler: Use size_t in ProcessBuffer length argumentBrad King2016-11-142-2/+2
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-11-161-1/+1
| |_|/ |/| |
* | | Merge topic 'add-SHA-3'Brad King2016-11-154-10/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f636d1e7 Help: Add notes for topic 'add-SHA-3' cb5dba8e Tests: Add SHA-3 algorithm coverage to CPack checksum test a9fa6099 ExternalProject: Add support for SHA-3 algorithms b4ffd26f ExternalData: Add support for SHA-3 algorithms 60939702 file: Add support for SHA-3 algorithms 92f95aed string: Add support for SHA-3 algorithms c326209f cmCryptoHash: Add support for SHA-3 algorithms 979e8ba6 Help: De-duplicate and spell out supported hash algorithms 7a79f7e3 librhash: Activate SHA-3 implementation 87584b5e Merge branch 'upstream-librhash' into add-SHA-3 7fcbd47e librhash 2016-11-06 (de79828d) c50c32a3 librhash: Update import script to add SHA-3 implementation
| * | | file: Add support for SHA-3 algorithmsBrad King2016-11-101-1/+3
| | | |
| * | | string: Add support for SHA-3 algorithmsBrad King2016-11-101-1/+3
| | | |
| * | | cmCryptoHash: Add support for SHA-3 algorithmsBrad King2016-11-102-8/+29
| | | |
* | | | Merge topic 'cmake-server-fix-16423'Brad King2016-11-152-28/+77
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 516a2cd3 server-mode: Reset GlobalGenerator before configure
| * | | | server-mode: Reset GlobalGenerator before configureTobias Hunger2016-11-142-28/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is what cmake-gui also does to avoid CMake crashing on repeated attempts to configure it. Fixes #16423.
* | | | | Merge topic 'cmake-server-fix-16422'Brad King2016-11-151-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | d0a707b3 server-mode: Prevent possible crash when watching directories
| * | | | server-mode: Prevent possible crash when watching directoriesTobias Hunger2016-11-141-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The `filename` passed by libuv may be `nullptr`, so handle that explicitly. Fixes: #16422
| * | | CMake 3.7.0v3.7.0Brad King2016-11-111-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-11-151-1/+1
| |_|/ |/| |
* | | Merge topic 'ninja-comment-ComputeLinkCmd'Brad King2016-11-141-0/+3
|\ \ \ | | | | | | | | | | | | | | | | de7083f3 Ninja: Document why ComputeLinkCmd is structured the way it is.
| * | | Ninja: Document why ComputeLinkCmd is structured the way it is.Robert Maynard2016-11-141-0/+3
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-11-141-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-11-131-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-11-121-1/+1
|/ / /
* | | Merge topic 'cdash_version_check'Brad King2016-11-115-77/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | d3633731 Do not query CDash for version f725b20b Update tests that expect uncompressed output
| * | | Do not query CDash for versionZack Galbreath2016-11-085-77/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This check was not functioning properly for the following reasons: * The "DropSite" and "DropLocation" CTest Configurations do not get set until ctest_submit() is called. So if ctest_submit() was not called before ctest_test() we would end up with uncompressed output, even if the CDash server was new enough to support this feature. * CDash's API is now versioned. The current location to query is now /api/v1/getversion.php, not /api/getversion.php. As a result of these issues, CTest would not compress test/memcheck output when it should. Rather than fix this check, we now assume that CTest is communicating with a new enough version of CDash. This behavior can be controlled through the use of the --no-compress-output command-line argument.
* | | | Merge topic 'vs_targets_file_as_library'Brad King2016-11-112-5/+128
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 883bd34a VS: Treat libraries ending in `.targets` as msbuild imports
| * | | | VS: Treat libraries ending in `.targets` as msbuild importsSoji Yamakawa2016-11-092-5/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate `<Import Project="..." .../>` to import the `.targets` files into `.vcxproj` files. Closes: #16340
* | | | | Merge topic 'ctest_memcheck_defect_count'Brad King2016-11-116-3/+50
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3a523eec ctest_memcheck: Add DEFECT_COUNT option to capture defect count
| * | | | | ctest_memcheck: Add DEFECT_COUNT option to capture defect countBetsy McPhail2016-11-096-3/+50
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2016-11-111-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge topic 'import-librhash'Brad King2016-11-1016-1944/+180
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd8a57ae Add option to build CMake against a system librhash 71180fc8 FindLibRHash: Add module to find the librhash package 3216e94c Remove unused cm_sha2 infrastructure 5420278d Port hash computation to cmCryptoHash 9a596b33 cmCryptoHash: Re-implement in terms of librhash 47f91a61 cmCryptoHash: Avoid using subclasses at client sites d0ff3e70 librhash: Port to KWIML for ABI and integer type information 465a85fb librhash: Avoid signed left-shift overflow fc2cb74f librhash: Implement bswap_32 as a function even in strict C90 mode 0bd333bc librhash: Implement bswap_64 even in strict C90 mode 7189d62c librhash: Use __builtin_bswap{32,64} on Clang af7ebf8a librhash: Install COPYING file with CMake documentation bb01f20e librhash: Disable warnings to avoid changing 3rd party code 31bb727f librhash: Build the library within CMake 53048afa librhash: Remove source fragments not needed for CMake 5cb1b345 Merge branch 'upstream-librhash' into import-librhash ...
| * | | | | FindLibRHash: Add module to find the librhash packageBrad King2016-11-101-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add it to a private source directory that is not installed so that we can use it for building CMake itself. This will allow it to mature before being distributed publicly.
| * | | | | Remove unused cm_sha2 infrastructureBrad King2016-11-105-1800/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All clients of `cm_sha2` have been ported to `cmCryptoHash`, which now uses librhash internally.
| * | | | | Port hash computation to cmCryptoHashBrad King2016-11-108-60/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid using KWSys MD5 or `cm_sha2` and use the `cmCryptoHash` abstraction instead.
| * | | | | cmCryptoHash: Re-implement in terms of librhashBrad King2016-11-102-85/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Offer direct construction with an enumeration of supported algorithms. Also expose the Initialize/Append/Finalize steps publicly and add a FinalizeHex method.
| * | | | | cmCryptoHash: Avoid using subclasses at client sitesBrad King2016-11-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Use only the main `cmCryptoHash` interface.