summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cxx14-features'Brad King2014-05-294-6/+41
|\ | | | | | | | | dd043c3f Features: Add support for C++14 features.
| * Features: Add support for C++14 features.Stephen Kelly2014-05-224-6/+41
| | | | | | | | Record the features implemented by GNU 4.9 and Clang 3.4.
* | CMake Nightly Date StampKitware Robot2014-05-291-1/+1
| |
* | Merge topic 'fix-coverage-py'Brad King2014-05-281-9/+15
|\ \ | | | | | | | | | | | | | | | deee7c42 CTest: Fix Python coverage.py off-by-one error in results 88b3dcb1 CTest: Improve Python coverage.py source file search algorithm
| * | CTest: Fix Python coverage.py off-by-one error in resultsZach Mullen2014-05-281-2/+2
| | | | | | | | | | | | | | | The cobertura format uses line numbers indexed starting at 1, and CTest uses a vector indexed starting at 0 to store them.
| * | CTest: Improve Python coverage.py source file search algorithmRoni Choudhury2014-05-281-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the coverage.py source file is not found in the source directory, the build directory is first searched before raising an error. This is necessary because it is a valid workflow to build a Python package from source, then install this package to a virtualenv that lives in the build directory. Tests will run against this deployed package and therefore the covered source files will be found in a subdirectory of the build directory, and not anywhere in the source directory.
* | | Merge topic 'cpack-properties'Brad King2014-05-2821-11/+517
|\ \ \ | | | | | | | | | | | | | | | | | | | | d0b1d2a6 CPackWiX: Implement CPACK_NEVER_OVERWRITE and CPACK_PERMANENT properties 15a8af21 Add an "installed file" property scope
| * | | CPackWiX: Implement CPACK_NEVER_OVERWRITE and CPACK_PERMANENT propertiesNils Gladitz2014-05-283-3/+23
| | | |
| * | | Add an "installed file" property scopeNils Gladitz2014-05-2818-8/+494
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach set_property and get_property an "INSTALL" property type to be associated with install-tree file paths. Make the properties available to CPack for use during packaging. Add a "prop_inst" Sphinx domain object type for documentation of such properties.
* | | | Merge topic 'fix-cache-self-assignment'Brad King2014-05-282-6/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 1cd37527 cmCacheManager: Avoid cache entry self-assignment 326d15a3 cmake: Tolerate missing HELPSTRING on compiler change
| * | | | cmCacheManager: Avoid cache entry self-assignmentBrad King2014-05-271-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit bef93dc5 (Couple of changes: cache variables now have a map of properties, 2002-09-11) the cmCacheManager::AddCacheDefinition method accesses its map entry by reference. However, the commit left the original entry assignment at the end of the method. With Apple Clang 5.1 and libc++ this self-assignment destroys the cache entry property map. Drop the self assignment. Also drop the condition around the call to UnwatchUnusedCli since it was a self-comparison that must always have been true.
| * | | | cmake: Tolerate missing HELPSTRING on compiler changeBrad King2014-05-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach cmake::HandleDeleteCacheVariables to tolerate a missing HELPSTRING (NULL pointer) when saving cache entries. In the absence of other bugs this should not be possible, but avoid the crash just in case.
| * | | | CMake 3.0.0-rc6v3.0.0-rc6Brad King2014-05-221-1/+1
| | | | |
| * | | | Merge branch 'backport-kwsys-cygwin-fixes' into releaseBrad King2014-05-202-2/+11
| |\ \ \ \
| | * | | | KWSys Process: Workaround child kill trouble on CygwinBrad King2014-05-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we kill a child we send SIGSTOP first so that we can traverse its child processes recursively. On unwinding the recursion we then send SIGKILL. Current Cygwin has trouble when both signals are sent in quick succession by the parent process. Add a usleep(1) after sending the first signal to give up our time slice and give Cygwin a chance to process the first signal before sending the second.
| | * | | | KWSys SystemTools: Port cygwin path conversion to modern APIBrad King2014-05-201-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cygwin_conv_to_win32_path function is deprecated in favor of cygwin_conv_path. Use the latter.
| * | | | | CMP0022: Fix link language propagation in NEW behaviorBrad King2014-05-191-10/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The languages used in compiling STATIC libraries need to be propagated to dependents regardless of the settings of INTERFACE_LINK_LIBRARIES or CMP0022. They are independent of the libraries in the link interface. Prior to commit v2.8.12~192^2~2 (Introduce the INTERFACE_LINK_LIBRARIES property, 2013-06-04) the cmTarget::ComputeLinkInterface code path for "explicitLibraries" could never be taken for STATIC libraries, so the logic to propagate languages existed only in the non-explicitLibraries code path. After that commit, INTERFACE_LINK_LIBRARIES could be set for STATIC libraries to cause the "explicitLibraries" code path to be taken. The commit also left the old non-explicitLibraries code path conditional on CMP0022 not being set to NEW. Thus link language propagation was left missing from two cases by that commit. The explicitLibraries code path was fixed to propagate languages by commit v2.8.12~149^2~1 (cmTarget: Fix iface libraries and languages for static libraries, 2013-07-26). However, the non-explicitLibraries case was never taught to propagate languages when CMP0022 is set to NEW. Fix that now. Factor the logic to propagate link languages out of the link interface libraries conditions so that it always occurs. Update Tests/Fortran to set CMP0022 to NEW to test this case (because the test passes only if link language propagation works).
| * | | | Merge branch 'fix-atomic-rename-Windows-sharing-violation' into releaseBrad King2014-05-131-2/+4
| |\ \ \ \
| * | | | | CMake 3.0.0-rc5v3.0.0-rc5Brad King2014-05-131-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-05-281-1/+1
| | | | | |
* | | | | | Merge topic 'dev/CMP0053-variable_watch'Brad King2014-05-272-1/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ba91463 tests: test CMP0053 in WARN mode when watching variables
| * | | | | | tests: test CMP0053 in WARN mode when watching variablesBen Boeckel2014-05-222-1/+9
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CMP0053 is in WARN mode, variables get expanded twice, leaking the fact that the string was expanded twice and changing behavior. Instead, suppress variable watches when running the expansion to trigger the CMP0053 warning.
* | | | | | Merge topic 'variable_watch-no-allowed-access'Brad King2014-05-273-14/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8498003 variable_watch: Remove undocumented and redundant access type
| * | | | | | variable_watch: Remove undocumented and redundant access typeBen Boeckel2014-05-223-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS access type was switched on an undocumented variable and its lookup caused an unnecessary performance impact. Remove it.
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-271-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-261-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-251-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-241-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-05-231-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'ninja-intel-ipo'Brad King2014-05-228-20/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6e2e0d1 Ninja: Fix Intel interprocedural optimization with static libraries 5d12b87b cmGeneratorTarget: Improve GetCreateRuleVariable API c2eeb08b cmTarget: Add GetFeatureAsBool method
| * | | | | Ninja: Fix Intel interprocedural optimization with static librariesBrad King2014-05-211-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach cmGeneratorTarget::GetCreateRuleVariable about the IPO variant. Return the static library IPO rule when the feature is enabled.
| * | | | | cmGeneratorTarget: Improve GetCreateRuleVariable APIBrad King2014-05-214-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the language and configuration to the method so it can return the complete rule variable name.
| * | | | | cmTarget: Add GetFeatureAsBool methodBrad King2014-05-214-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | Return the GetFeature method result converted to a boolean value.
* | | | | | Merge topic 'COMPILE_FEATURES-genex'Brad King2014-05-229-48/+400
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0dfe395e Features: Add COMPILE_FEATURES generator expression. aa8a6fce cmMakefile: Add methods for checking availability of a feature. b6dedf03 cmMakefile: Extract CheckNeeded{C,Cxx}Language methods. 8dd129df cmMakefile: Extract CompileFeaturesAvailable method. 6b9b2fff cmMakefile: Extract CompileFeatureKnown method.
| * | | | | | Features: Add COMPILE_FEATURES generator expression.Stephen Kelly2014-05-219-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow setting build properties based on the features available for a target. The availability of features is determined at generate-time by evaluating the link implementation. Ensure that the <LANG>_STANDARD determined while evaluating COMPILE_FEATURES in the link implementation is not lower than that provided by the INTERFACE of the link implementation. This is similar to handling of transitive properties such as POSITION_INDEPENDENT_CODE.
| * | | | | | cmMakefile: Add methods for checking availability of a feature.Stephen Kelly2014-05-202-0/+120
| | | | | | |
| * | | | | | cmMakefile: Extract CheckNeeded{C,Cxx}Language methods.Stephen Kelly2014-05-202-12/+34
| | | | | | |
| * | | | | | cmMakefile: Extract CompileFeaturesAvailable method.Stephen Kelly2014-05-202-26/+41
| | | | | | |
| * | | | | | cmMakefile: Extract CompileFeatureKnown method.Stephen Kelly2014-05-202-29/+52
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-221-1/+1
| | | | | | |
* | | | | | | Merge topic 'file-command-open-errors'Brad King2014-05-211-6/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c448dbf file: Report system error on failure to open file
| * | | | | | | file: Report system error on failure to open fileBrad King2014-05-201-6/+8
| |/ / / / / /
* | | | | | | Merge topic 'minor-cleanups'Brad King2014-05-211-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1035bd5 cmTarget: Avoid copying container we don't need to copy. 96eb97f8 Help: Fix whitespace in doc link. 0dffbb93 Features: Ensure that list exists to remove from.
| * | | | | | cmTarget: Avoid copying container we don't need to copy.Stephen Kelly2014-05-201-1/+1
| |/ / / / /
* | | | | | CMake Nightly Date StampKitware Robot2014-05-211-1/+1
|/ / / / /
* | | | | Merge topic 'update-kwsys'Brad King2014-05-202-2/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2903d609 Merge branch 'upstream-kwsys' into update-kwsys ed52685d KWSys 2014-05-19 (c282e64f)
| * | | | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-05-192-2/+11
| | | | | |
* | | | | | Merge topic 'compile-features-C-language'Brad King2014-05-206-4/+139
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0890d03 Features: Extend concept to C language.
| * | | | | | Features: Extend concept to C language.Stephen Kelly2014-05-146-4/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add properties and variables corresponding to CXX equivalents. Add features for c_function_prototypes (C90), c_restrict (C99), c_variadic_macros (C99) and c_static_assert (C11). This feature set can be extended later. Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader to conditionally represent the c_restrict feature.
* | | | | | | CMake Nightly Date StampKitware Robot2014-05-201-1/+1
| | | | | | |