summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2018-03-131-1/+1
|
* Merge topic 'genex-TARGET_EXISTS'Brad King2018-03-121-0/+32
|\ | | | | | | | | | | | | 7fec336bf7 genex: Add TARGET_EXISTS to check for target existence Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1829
| * genex: Add TARGET_EXISTS to check for target existenceAlex Turbov2018-03-091-0/+32
| | | | | | | | | | Define `$<TARGET_EXISTS:a>` to `1` if `a` is an existed target name, else `0`.
* | Merge topic 'xml-raii'Brad King2018-03-122-115/+130
|\ \ | | | | | | | | | | | | | | | | | | | | | 90086767dd cmGlobalVisualStudio10Generator: Use cmXMLWriter RAII helpers 8401b6ac4e cmXMLWriter: Add RAII helpers to allow DOM-like syntax Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1818
| * | cmGlobalVisualStudio10Generator: Use cmXMLWriter RAII helpersVitaly Stakhovsky2018-03-092-117/+80
| | | | | | | | | | | | | | | This simplifies our XML generation code and avoids the need to disable clang-format.
| * | cmXMLWriter: Add RAII helpers to allow DOM-like syntaxVitaly Stakhovsky2018-03-091-0/+52
| | | | | | | | | | | | | | | Use RAII for cmXMLWriter::StartElement/EndElement to make nesting automatic.
* | | Merge topic 'update-dllplatform'Brad King2018-03-123-6/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2dc2a3eb15 Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1832
| * | | Identify DLL platforms via CMAKE_IMPORT_LIBRARY_SUFFIXStephan Szabo2018-03-093-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `CMAKE_IMPORT_LIBRARY_SUFFIX` to identify platforms that have DLL import libraries rather than memorizing a list of platform names. Fixes: #16801
* | | | Merge topic 'cmake-rc-version-decimal'Brad King2018-03-121-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 588a1afe76 CMakeVersion.rc: Avoid leading zeros in integer version components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1835
| * | | | CMakeVersion.rc: Avoid leading zeros in integer version componentsBrad King2018-03-091-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The split in commit v3.11.0-rc1~232^2 (CMakeVersion RC file: Split patch into 2 components, 2017-12-01) can leave components "2018,0309", but the latter is an octal constant with digit "9" out of range. Strip the leading zero to express the components as "2018,309" so the resource compiler treats them as decimal.
* | | | | CMake Nightly Date StampKitware Robot2018-03-121-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-03-111-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-03-101-1/+1
|/ / / /
* | | | Merge topic 'cmWorkingDirectory_success_checking'Brad King2018-03-0917-31/+226
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5901699672 cmDepends: Remove attempt to change directory that always fails e60e4dfc88 cmWorkingDirectory: Check success of current dir changes e654622aee Tests: Add --build-and-test test case a865f0beb2 Tests: Confirm test working dir set successfully Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1817
| * | | | cmDepends: Remove attempt to change directory that always failsCraig Scott2018-03-082-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing ever set `CompileDirectory` except `SetDirectory()`, but nothing ever called that function. Therefore, `CompileDirectory` was always empty for the attempt to change directory in `Check()`, which therefore would always fail. Nothing was checking the result and the code was always going to have no effect.
| * | | | cmWorkingDirectory: Check success of current dir changesCraig Scott2018-03-0815-19/+225
| | |/ / | |/| |
* | | | Merge topic 'cmoutpconv-static'Brad King2018-03-091-6/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff5823f512 cmOutputConverter: mark helper functions static Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1827
| * | | | cmOutputConverter: mark helper functions staticRolf Eike Beer2018-03-061-6/+4
| | |_|/ | |/| | | | | | | | | | This allows the linker to entirely drop any symbols of the functions.
* | | | Merge topic 'make-clean-no-targets'Brad King2018-03-091-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81bc7610ab Makefile: Fix "make clean" when there are no targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1833
| * | | | Makefile: Fix "make clean" when there are no targetsBrad King2018-03-081-0/+4
| | |_|/ | |/| | | | | | | | | | | | | | The empty `clean` target was missing from `Makefile2`. Add one like we already have for `all` and `preinstall`.
* | | | Merge topic 'sort_glob_output'Brad King2018-03-091-12/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87a6816baf Add test for sorting and deduping of file(GLOB) result b688d4fd22 file(GLOB): Ensure entire file list is sorted Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1821
| * | | | file(GLOB): Ensure entire file list is sortedShane Parris2018-03-071-12/+7
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-03-091-1/+1
| | | | |
* | | | | Merge topic 'project-warn-missing-metadata-values'Craig Scott2018-03-081-2/+47
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 587bad7ba2 project: warn on metadata arguments missing values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1815
| * | | | | project: warn on metadata arguments missing valuesAlex Turbov2018-03-071-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | Warn if `DESCRIPTION` or `VERSION` is given without a following value.
* | | | | | Merge topic 'misc-typos'Brad King2018-03-082-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32f6b7a43b Fix misc typos in documentation and comments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1826
| * | | | | | Fix misc typos in documentation and commentsluz.paz2018-03-072-2/+2
| | |_|_|/ / | |/| | | |
* | | | | | Merge topic 'vs10-xmlmacros'Brad King2018-03-082-312/+166
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59d8cfb85e cmVisualStudio10TargetGenerator: Use helpers for XML tags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1813
| * | | | | | cmVisualStudio10TargetGenerator: Use helpers for XML tagsVitaly Stakhovsky2018-03-072-312/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the XML generating code smaller, more structured, and less error-prone. This is a step towards future XML refactoring.
* | | | | | | Merge topic 'avoid-LIB_DEPENDS'Brad King2018-03-084-33/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7723e9a058 Do not produce legacy _LIB_DEPENDS cache entries 2124a1364a cmTarget: Remove unnecessary RecordDependencies member 1c5bfab532 cmTarget: Simplify ClearDependencyInformation implementation 910a9d608e cmTarget: Simplify ClearDependencyInformation signature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1828
| * | | | | | | Do not produce legacy _LIB_DEPENDS cache entriesBrad King2018-03-072-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce policy `CMP0073` to avoid producing these cache entries. Fixes: #16364
| * | | | | | | cmTarget: Remove unnecessary RecordDependencies memberBrad King2018-03-062-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inline the condition in the one remaining place it is checked.
| * | | | | | | cmTarget: Simplify ClearDependencyInformation implementationBrad King2018-03-061-16/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the `<target>_LIB_DEPENDS` cache entry unconditionally. It will be populated again later if needed. There is no need to ask the user to remove the cache entry if the target type changes. Issue: #16364
| * | | | | | | cmTarget: Simplify ClearDependencyInformation signatureBrad King2018-03-063-6/+5
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | We don't need to pass an argument with the target's own name.
* | | | | | | Merge topic 'update-kwsys'Brad King2018-03-084-16/+25
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c5b4359f8 Merge branch 'upstream-KWSys' into update-kwsys 64d4308d83 KWSys 2018-03-07 (2ad561e7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1830
| * | | | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-03-074-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2018-03-07 (2ad561e7)
* | | | | | | | CMake Nightly Date StampKitware Robot2018-03-081-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge topic 'ctest-affinity'Brad King2018-03-0711-6/+138
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6be53c6695 CTest: Add options to control test process affinity to CPUs c5428d8db2 libuv: disable process affinity during CMake bootstrap 24de561a1a libuv: unix,win: add uv_spawn option to set child CPU affinity mask 43d6e5a71f libuv: misc: add function to get CPU affinity mask size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1814
| * | | | | | | CTest: Add options to control test process affinity to CPUsBrad King2018-03-0511-6/+138
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors allocated to running tests in order to balance it against the desired level of parallelism. Extend this idea by introducing a new `PROCESSOR_AFFINITY` test property to ask that CTest run a test with the CPU affinity mask set. This will allow a set of tests that are running concurrently to use disjoint CPU resources.
* | | | | | | Merge topic 'autogen-empty-source-file-fix'Brad King2018-03-071-11/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50b7be6d1f Autogen: Check if a file is empty before reading it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1825
| * | | | | | | Autogen: Check if a file is empty before reading itSebastian Holtermann2018-03-061-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling `std::string::front()` on an empty string results in an undefined behavior by the C++ standard. In gcc8 it causes an assertion to fail. This adds a check to `AUTOGEN` if a file to read is empty and in case avoids the use of an empty `std::string` buffer. Closes #17793
| * | | | | | | CMake 3.11.0-rc2v3.11.0-rc2Brad King2018-02-271-1/+1
| | | | | | | |
| * | | | | | | Merge branch '14297-partial-xcode-zero-check' into release-3.11Brad King2018-02-231-1/+5
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1790
| * \ \ \ \ \ \ \ Merge branch 'std-thread-link' into release-3.11Brad King2018-02-221-0/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1789
* | | | | | | | | | CMake Nightly Date StampKitware Robot2018-03-071-1/+1
| |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2018-03-061-1/+1
| |_|_|/ / / / / |/| | | | | | |
* | | | | | | | Merge topic 'general_cleanup_enhance'Brad King2018-03-054-103/+104
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a21d820d3 Remove c_str() from calls to converttorelativeformake in XCode Generator f93cc4158e Refactor cmCacheManager::LoadCache to use ostringstream 915b71010c Enhance RunCMake test coverage for file(GLOB) fcaa134c6c Refactor HandleGlobCommand cf5d0b49e8 Adjust class description in cmFileTimeComparison.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1810
| * | | | | | | | Remove c_str() from calls to converttorelativeformake in XCode GeneratorShane Parris2018-02-281-22/+16
| | | | | | | | |
| * | | | | | | | Refactor cmCacheManager::LoadCache to use ostringstreamShane Parris2018-02-281-8/+8
| | | | | | | | |
| * | | | | | | | Refactor HandleGlobCommandShane Parris2018-02-281-71/+78
| | | | | | | | |