summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-144-1/+244
| | | | | 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
|
* 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
| |
* | Merge topic 'swig_add_library'Brad King2016-11-143-11/+66
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | a57e7630 Help: Add notes for topic 'swig_add_library' 013193d0 SwigTest: Update for swig_add_library and add lua example ec1d585c UseSWIG: Do not set PREFIX property for SHARED and STATIC lua libraries 4c5b3c1c UseSWIG: Do not set NO_SONAME property for SHARED and STATIC libraries d0a9d8bb UseSWIG: Add swig_add_library macro.
| * | Help: Add notes for topic 'swig_add_library'Brad King2016-11-111-0/+8
| | |
| * | SwigTest: Update for swig_add_library and add lua exampleDaniele E. Domenichelli2016-11-111-2/+11
| | |
| * | UseSWIG: Do not set PREFIX property for SHARED and STATIC lua librariesDaniele E. Domenichelli2016-11-111-1/+3
| | |
| * | UseSWIG: Do not set NO_SONAME property for SHARED and STATIC librariesDaniele E. Domenichelli2016-11-111-1/+3
| | |
| * | UseSWIG: Add swig_add_library macro.Daniele E. Domenichelli2016-11-111-7/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swig_add_module does not allow to set the type for the library and instead always create the library as MODULE. This patch adds the new swig_add_library command with this signature: SWIG_ADD_LIBRARY(<name> [TYPE <SHARED|MODULE|STATIC>] LANGUAGE <language> SOURCES <file>... ) The swig_add_module is deprecated in favour of swig_add_library. Closes: #16415
* | | 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-117-77/+6
|\ \ | | | | | | | | | | | | | | | 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.
| * | Update tests that expect uncompressed outputZack Galbreath2016-11-082-0/+2
| | | | | | | | | | | | Pass --no-compressed-output to ctest for tests that expect uncompressed output.
* | | Merge topic 'vs_targets_file_as_library'Brad King2016-11-115-5/+140
|\ \ \ | | | | | | | | | | | | | | | | 883bd34a VS: Treat libraries ending in `.targets` as msbuild imports
| * | | VS: Treat libraries ending in `.targets` as msbuild importsSoji Yamakawa2016-11-095-5/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate `<Import Project="..." .../>` to import the `.targets` files into `.vcxproj` files. Closes: #16340
* | | | Merge topic 'fuchsia-platform'Brad King2016-11-112-0/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 3cfad71c Add Fuchsia platform module
| * | | | Add Fuchsia platform modulePetr Hosek2016-11-092-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Fuchsia is a new operating system. This module provides a minimal setup needed to use Fuchsia toolchain.
* | | | | Merge topic 'ctest_memcheck_defect_count'Brad King2016-11-1117-7/+109
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3a523eec ctest_memcheck: Add DEFECT_COUNT option to capture defect count
| * | | | | ctest_memcheck: Add DEFECT_COUNT option to capture defect countBetsy McPhail2016-11-0917-7/+109
| | | | | |
* | | | | | Merge topic 'ExternalProject-GIT_CONFIG'Brad King2016-11-113-2/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2be9d85a ExternalProject: Allow passing config flags to git clone
| * | | | | | ExternalProject: Allow passing config flags to git cloneChristian Fetzer2016-11-093-2/+34
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `GIT_CONFIG` parameter that allows to specify `--config` flags that are passed to the git clone command. This can be used to specify for example `core.autocrlf=true`. The `--config` parameter is supported since Git 1.7.7.
* | | | | | Merge topic 'intel-compile-features'Brad King2016-11-112-1/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e428389 Features: Detect Intel C++14 mode more reliably 1f848031 Features: Suppress c_static_assert test coverage on Intel <= 15
| * | | | | | Features: Detect Intel C++14 mode more reliablyBrad King2016-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `__cplusplus` macro is not defined to the language level reliably. When simulating MSVC it is always set to `1`. When simulating GCC it is set to the lower value of the current language level and the maximum level supported by the simulated version of GCC (from observation). For MSVC we already used a combination of `__INTEL_CXX11_MODE__` and `__cpp_aggregate_nsdmi` to detect C++14 mode. Extend this for general use by removing the condition on `_MSC_VER`.
| * | | | | | Features: Suppress c_static_assert test coverage on Intel <= 15Brad King2016-11-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It works on some pre-15.0.2 versions but not others.
* | | | | | | Merge topic 'intel-compile-features-windows-15'Brad King2016-11-112-13/+19
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be732739 Features: Fix standards and features for Intel 15 on Windows
| * | | | | | | Features: Fix standards and features for Intel 15 on WindowsBrad King2016-11-102-13/+19
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel 15 compiler for Windows does not support the same set of standards and features as the same version for other platforms.
* | | | | | | Merge branch 'release'Brad King2016-11-110-0/+0
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | CMake 3.7.0v3.7.0Brad King2016-11-111-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2016-11-111-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge branch 'release'Brad King2016-11-100-0/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch 'autorcc-only-no-rebuild' into releaseBrad King2016-11-091-2/+2
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'pkgconfig_imported_target' into releaseBrad King2016-11-081-1/+1
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic 'import-librhash'Brad King2016-11-1049-1950/+3496
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...
| * | | | | | | | Add option to build CMake against a system librhashBrad King2016-11-104-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a CMAKE_USE_SYSTEM_LIBRHASH option.
| * | | | | | | | FindLibRHash: Add module to find the librhash packageBrad King2016-11-105-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-107-1803/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | librhash: Port to KWIML for ABI and integer type informationBrad King2016-11-102-40/+28
| | | | | | | | |
| * | | | | | | | librhash: Avoid signed left-shift overflowBrad King2016-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix `rhash_md5_final` to use unsigned integers for left shifting to avoid the possibility of undefined overflow behavior.
| * | | | | | | | librhash: Implement bswap_32 as a function even in strict C90 modeBrad King2016-11-101-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot fall back to the macro implementation because some call sites may call it with an argument like `*ptr++` that has side effects.
| * | | | | | | | librhash: Implement bswap_64 even in strict C90 modeBrad King2016-11-101-4/+2
| | | | | | | | |
| * | | | | | | | librhash: Use __builtin_bswap{32,64} on ClangBrad King2016-11-101-0/+8
| | | | | | | | |
| * | | | | | | | librhash: Install COPYING file with CMake documentationBrad King2016-11-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we install using the bundled librhash source, notify users of its license terms.