summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2020-03-311-1/+1
|
* Merge topic 'cmprop-state'Brad King2020-03-305-27/+34
|\ | | | | | | | | | | | | a4255ecf81 cmStateDirectory::GetProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4536
| * cmStateDirectory::GetProperty: return cmPropVitaly Stakhovsky2020-03-275-27/+34
| |
* | Merge topic 'vs-non-built-file-item-metadata'Brad King2020-03-302-93/+156
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0723e04f7a VS: Add documentation for VS_SETTINGS and VS_SOURCE_SETTINGS_<tool>. 2ca1102f83 VS: Test VS_SETTINGS and VS_SOURCE_SETTINGS_<tool> properties. f00e1b816d VS: Add VS_SOURCE_SETTINGS_<tool> target property 2ce42f281f VS: Add VS_SETTINGS source file property 53116d3942 VS: Use unordered_map to write HLSL settings. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4498
| * | VS: Add VS_SOURCE_SETTINGS_<tool> target propertyMatt Davies2020-03-202-0/+17
| | | | | | | | | | | | | | | | | | | | | VS_SOURCE_SETTINGS_<tool> is a list of key value pairs that get written as item metadata for any file associated with <tool> for that target. The entire value of VS_SOURCE_SETTINGS_<tool> is evaluated as a generator expression. VS_SETTINGS can override settings specified in this property.
| * | VS: Add VS_SETTINGS source file propertyMatt Davies2020-03-202-4/+36
| | | | | | | | | | | | | | | | | | VS_SETTINGS is a list of key value pairs that get written as item metadata for the associated non-built file. The entire value of VS_SETTINGS is evaluated as a generator expression.
| * | VS: Use unordered_map to write HLSL settings.Matt Davies2020-03-202-93/+107
| | |
* | | CMake Nightly Date StampKitware Robot2020-03-301-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2020-03-291-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2020-03-281-1/+1
| |/ |/|
* | Merge topic 'pch-warn-invalid'Brad King2020-03-272-2/+17
|\ \ | | | | | | | | | | | | | | | | | | 2ce08e5489 PCH: add an option to disable `-Winvalid-pch` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4499
| * | PCH: add an option to disable `-Winvalid-pch`Cristian Adam2020-03-262-2/+17
| |/ | | | | | | Fixes: #20295
* | Merge topic 'cleanup-endls-1'Brad King2020-03-279-111/+101
|\ \ | | | | | | | | | | | | | | | | | | 3fdd8db3aa Refactor: Avoid `std::endl` where it's not necessary (part 1) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4513
| * | Refactor: Avoid `std::endl` where it's not necessary (part 1)Alex Turbov2020-03-269-111/+101
| | | | | | | | | | | | | | | | | | | | | The `std::endl` manupulator, except inserting `\n` character, also performs `os.flush()`, which may leads to undesired effects (like disk I/O in the middle of forming data strings). For the `std::stringstream` it also has no meaning.
* | | Merge topic 'cmprop-getglobalprop'Brad King2020-03-2719-83/+95
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c84cf42897 cmState::GetGlobalProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4521
| * | | cmState::GetGlobalProperty: return cmPropVitaly Stakhovsky2020-03-2519-83/+95
| | | |
* | | | Merge topic 'cmprop-state'Brad King2020-03-2711-29/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7f2ff16a4 cmState::GetCacheEntryProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4522
| * | | | cmState::GetCacheEntryProperty: return cmPropVitaly Stakhovsky2020-03-2511-29/+32
| | |/ / | |/| |
* | | | Merge topic 'export-error-on-multuple-calls'Brad King2020-03-272-1/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0cd20e8f62 export(): raise an error on multiple calls with same FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4510
| * | | | export(): raise an error on multiple calls with same FILEMarc Chevrier2020-03-262-1/+27
| | | | | | | | | | | | | | | | | | | | Fixes: 20472
* | | | | Merge topic 'ctest-timeout-report'Brad King2020-03-272-8/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3503a79639 Merge branch 'backport-ctest-timeout-report' into ctest-timeout-report 7fda917fa4 CTest: Fix reported duration on timeout when grindchild keeps pipes open Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4530
| * \ \ \ \ Merge branch 'backport-ctest-timeout-report' into ctest-timeout-reportBrad King2020-03-262-8/+14
| |\ \ \ \ \
| | * | | | | CTest: Fix reported duration on timeout when grindchild keeps pipes openBrad King2020-03-262-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit d1976cd1f2 (CTest: Fix timeout when grandchild keeps pipes open, 2020-01-13, v3.17.0-rc1~169^2) we no longer hang, but the test duration we report after the timeout is the amount of time the immediate child ran before exiting. Fix the logic to instead report the actual amount of time we spent monitoring the test before the timeout. Fixes: #20509
* | | | | | | Merge topic 'llvm-rc-stderr'Brad King2020-03-271-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc93cbb0d8 llvm-rc: Print stderr output when calling tools through cmake_llvm_rc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4525
| * | | | | | | llvm-rc: Print stderr output when calling tools through cmake_llvm_rcThomas Bernard2020-03-261-0/+9
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stored error pipe is output if the program fails. Fixes: #20494
* | | | | | | Merge topic 'make-nested-silent'Brad King2020-03-271-1/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6d9da5178 Makefiles: Fix silencing of nested calls for GNU make 4.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4515
| * | | | | | | Makefiles: Fix silencing of nested calls for GNU make 4.3Brad King2020-03-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since GNU make 4.3, `.SILENT:` no longer causes nested `$(MAKE)` calls to get `-s` implicitly. Add the `-s` flag explicitly on such calls to suppress messages about Entering/Leaving directories. Fixes: #20487
* | | | | | | | CMake Nightly Date StampKitware Robot2020-03-271-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge topic 'cleanup-endls-3'Brad King2020-03-264-124/+121
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e3a65d963 Refactor: Avoid `std::endl` where it's not necessary (part 3) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4517
| * | | | | | | Refactor: Avoid `std::endl` where it's not necessary (part 3)Alex Turbov2020-03-244-124/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `std::endl` manipulator, except inserting `\n` character, also performs `os.flush()`, which may lead to undesired effects (like disk I/O in the middle of forming data strings). For the `std::stringstream` it also has no meaning. * replace multiple `operator<<` calls on a string literal w/ the only call and the only (bigger) string literal; * replace one character string literal used in `operator<<` w/ a char literal.
* | | | | | | | Merge topic 'cleanup-endls-2'Brad King2020-03-268-93/+85
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e4b5c7d09 Refactor: Avoid `std::endl` where it's not necessary (part 2) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4514
| * | | | | | | | Refactor: Avoid `std::endl` where it's not necessary (part 2)Alex Turbov2020-03-248-93/+85
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `std::endl` manipulator, except inserting `\n` character, also performs `os.flush()`, which may lead to undesired effects (like disk I/O in the middle of forming data strings). For the `std::stringstream` it also has no meaning. * replace multiple `operator<<` calls on a string literal w/ the only call and the only (bigger) string literal; * replace one character string literal used in `operator<<` w/ a char literal.
* | | | | | | | Merge topic 'string-prefix'Brad King2020-03-2661-512/+490
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec7928ef26 use _s to construct static string_views at several places 94de927cab VS10Generator: avoid many string allocations 8ca2504a4d use string_views to avoid memory allocations 761f1adcae check for a valid URL scheme before starting to do any splitting ef778d77e0 replace std::string::substr() with operations that do not allocate memory 77616f4681 pass cm::string_view to cmVisualStudioSlnParser::ParseTag() ada6a3226f use cm::string_view for language extension lookups 48adc29721 replace "std::string::find(x) == 0" with cmHasPrefix() ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4501
| * | | | | | | | use _s to construct static string_views at several placesRolf Eike Beer2020-03-244-106/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should avoid the runtime strlen() call.
| * | | | | | | | VS10Generator: avoid many string allocationsRolf Eike Beer2020-03-242-48/+36
| | | | | | | | |
| * | | | | | | | use string_views to avoid memory allocationsRolf Eike Beer2020-03-246-25/+37
| | | | | | | | |
| * | | | | | | | check for a valid URL scheme before starting to do any splittingRolf Eike Beer2020-03-231-6/+7
| | | | | | | | |
| * | | | | | | | replace std::string::substr() with operations that do not allocate memoryRolf Eike Beer2020-03-2310-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify the original string instead of creating a new copy with substr() when it is not used for anything else afterwards.
| * | | | | | | | pass cm::string_view to cmVisualStudioSlnParser::ParseTag()Rolf Eike Beer2020-03-232-7/+8
| | | | | | | | |
| * | | | | | | | use cm::string_view for language extension lookupsRolf Eike Beer2020-03-234-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once the list of extensions is build the set is just a copy of the vector and not modified anymore. Use a string_view for the members of the set, which saves a small amount of memory. It also makes possible to use string_views as lookup keys, so the callers do not need to create copies for the extensions anymore.
| * | | | | | | | replace "std::string::find(x) == 0" with cmHasPrefix()Rolf Eike Beer2020-03-2327-114/+129
| | | | | | | | |
| * | | | | | | | replace "substr(0, xx) ==" with cmHasPrefix()Rolf Eike Beer2020-03-239-24/+16
| | | | | | | | |
| * | | | | | | | allow cmCTest::CleanString() to skip input charactersRolf Eike Beer2020-03-232-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This entirely avoids that one needs to call std::string::substr() for the input.
| * | | | | | | | CTest: avoid repeated string comparesRolf Eike Beer2020-03-232-132/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only one key can match per iteration, avoid any further compares when one match was already found. While at it entirely avoid that the key and value strings are copied.
| * | | | | | | | Mumps coverage: directly pass std::string as argumentRolf Eike Beer2020-03-236-9/+9
| | | | | | | | |
| * | | | | | | | remove pointless return value from cmCTestTestHandler::CleanTestOutput()Rolf Eike Beer2020-03-232-4/+3
| | | | | | | | |
| * | | | | | | | PyCoverage: avoid repeated string splitting, especially for uncovered linesRolf Eike Beer2020-03-231-20/+17
| | | | | | | | |
| * | | | | | | | use std::string::rfind() instead of open coding itRolf Eike Beer2020-03-231-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While at it avoid creating a new string.
| * | | | | | | | CPackWIXGenerator: use cmStrCat for more partsRolf Eike Beer2020-03-231-5/+5
| | | | | | | | |
| * | | | | | | | remove needless check for std::string::substr()Rolf Eike Beer2020-03-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing npos is legal and means "rest of the string".