summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Rename internal variable {Platform => Generator}ToolsetBrad King2014-06-042-6/+6
| | | | The latter matches with CMAKE_GENERATOR_TOOLSET better.
* Merge topic 'fix-build-crash-on-bad-generator'Brad King2014-06-041-1/+7
|\ | | | | | | | | 44e2923f cmake: Fix --build crash on bad CMAKE_GENERATOR in cache
| * cmake: Fix --build crash on bad CMAKE_GENERATOR in cacheBrad King2014-06-031-1/+7
| | | | | | | | | | | | | | | | | | | | If we fail to create the generator named by CMAKE_GENERATOR, exit with an error message instead of crashing. While at it, fix the wording of the error message when CMAKE_GENERATOR is not set. Extend the RunCMake.CommandLine test with cases covering the "cmake --build" option when the named directory does not provide a CMakeCache.txt with a valid CMAKE_GENERATOR.
* | CMake Nightly Date StampKitware Robot2014-06-041-1/+1
| |
* | Merge topic 'cmake-credits'Brad King2014-06-031-1/+1
|\ \ | | | | | | | | | | | | 889f2fd8 Simplify and clarify credit text and link
| * | Simplify and clarify credit text and linkBrad King2014-06-031-1/+1
| | | | | | | | | | | | | | | Use the name "Kitware" rather than "Kitware, Inc." to simplify the text. Provide a CMake-specific URL.
* | | Merge topic 'cmake-credits'Brad King2014-06-031-1/+1
|\ \ \ | |/ / | | | | | | | | | 8da0a75b Simplify and clarify credit text and link
| * | Simplify and clarify credit text and linkBrad King2014-06-031-1/+1
| |/ | | | | | | | | Use the name "Kitware" rather than "Kitware, Inc." to simplify the text. Provide a CMake-specific URL.
* | CMake Nightly Date StampKitware Robot2014-06-031-1/+1
| |
* | Merge topic 'feature-extensions-by-default'Brad King2014-06-021-2/+10
|\ \ | | | | | | | | | | | | 60a981ea Features: Enable compiler extensions by default.
| * | Features: Enable compiler extensions by default.Stephen Kelly2014-05-311-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilers enable their extensions by default, and disabling them implicitly can lead to results which are surprising or non-obvious to debug. http://public.kitware.com/pipermail/cmake-developers/2014-May/010575.html http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/10214 https://www.mail-archive.com/cmake-developers@cmake.org/msg10116.html (Compiler feature extensions by default, 29 May 2014)
* | | CMake Nightly Date StampKitware Robot2014-06-021-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-06-011-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-05-311-1/+1
| | |
* | | Merge topic 'consistent-genex-target-message'Brad King2014-05-301-14/+14
|\ \ \ | | | | | | | | | | | | | | | | fb2fa476 Genex: Clarify error message on use with non-binary targets (#14899).
| * | | Genex: Clarify error message on use with non-binary targets (#14899).Stephen Kelly2014-05-291-14/+14
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-05-301-1/+1
| |/ / |/| |
* | | Merge topic 'normalize-custom-command-paths'Brad King2014-05-292-1/+15
|\ \ \ | | | | | | | | | | | | | | | | c4af46b4 add_custom_command: Normalize OUTPUT and DEPENDS paths.
| * | | add_custom_command: Normalize OUTPUT and DEPENDS paths.Stephen Kelly2014-05-282-1/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While tracing dependencies of a target, cmTargetTraceDependencies follows sources by full path to determine if the source is to be produced by a custom command. Commit 4959f341 (cmSourceFileLocation: Collapse full path for directory comparisons., 2014-03-27) changed the storage of target sources to be in the form of a normalized path instead of an unnormalized path. The path is followed by looking it up in a mapping via cmMakefile::GetSourceFileWithOutput to acquire an appropriate cmSourceFile. The mapping is populated with the OUTPUT components of add_custom_command invocations, however it is populated with unnormalized paths. This means that the tracing logic does not find appropriate cmSourceFiles, and does not generate appropriate build rules for the generated sources. Normalize the paths in the OUTPUT components of add_custom_command to resolve this. The paths in the DEPENDS component of add_custom_command are also not normalized, leading to the same problem again. Normalize the depends paths after generator evaluation and expansion.
* | | Merge topic 'vs-vcproj-bool-case'Brad King2014-05-292-31/+31
|\ \ \ | | | | | | | | | | | | | | | | b684ce58 VS: Use lower-case boolean values in VS 7-9 (#14927)
| * | | VS: Use lower-case boolean values in VS 7-9 (#14927)Mark Salisbury2014-05-282-31/+31
| | |/ | |/| | | | | | | | | | | | | | | | The VS 7-9 IDEs parse .vcproj file boolean values in lower or upper case. The .NET XML parsing chokes on anything but "true", "false", "0", "1". Teach our generators to use lower-case names since they will work for both parsers. Our VS >= 10 flag tables already use lower-case.
* | | 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
| |/ / / / |/| | | |