summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'refactor-iwyu-code'Brad King2017-09-157-233/+303
|\ | | | | | | | | | | | | 3bbe95f5 Clean up iwyu code to not be one big if statement. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1247
| * Clean up iwyu code to not be one big if statement.Bill Hoffman2017-09-137-233/+303
| | | | | | | | | | | | | | | | | | | | This commit changes the internal -E__run_iwyu to be -E__run_co_compile. This is used for co-compile commands. These are tools that want to mirror the compiler. For each compiler invocation the tool will be invoked first. This started as a way to implement include what you use (iwyu), but has expanded to include cpplint, cppcheck and others. Likely there will be more in the future as well. This commit implements each one in its own function and provides a way to add additional ones in the future with less work.
* | Merge topic 'codeblocks-exclude-external'Brad King2017-09-151-0/+20
|\ \ | | | | | | | | | | | | | | | | | | fb19b778 CodeBlocks: add option to exclude external files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1159
| * | CodeBlocks: add option to exclude external filesAlexandr (Sagrer) Gridnev2017-09-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add variable `CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` to optionally exclude files from outside the project root from the project file written by the CodeBlocks extra generator. This optionally restores logic that had been removed by commit v2.8.3~40^2 (CodeBlocks Generator: Do not omit files in the project file listing, 2010-10-05) in response to QTCREATORBUG-2250. Issue: #12110 Fixes: #17188
* | | Merge topic 'ranged-for'Brad King2017-09-1533-869/+606
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 63f6fd14 Meta: modernize old-fashioned loops to range-based `for` (CTest). Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1262
| * | | Meta: modernize old-fashioned loops to range-based `for` (CTest).Pavel Solodovnikov2017-09-1433-869/+606
| | | | | | | | | | | | | | | | | | | | | | | | Changes done via `clang-tidy` with some manual fine-tuning for the variable naming and `auto` type deduction where appropriate.
* | | | Merge topic 'update-kwsys'Brad King2017-09-152-66/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f02eced5 Merge branch 'upstream-KWSys' into update-kwsys 38b8017f KWSys 2017-09-14 (d85b17e7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1263
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-09-142-66/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-09-14 (d85b17e7)
* | | | | CMake Nightly Date StampKitware Robot2017-09-151-1/+1
|/ / / /
* | | | Merge topic 'get_filename_component-fix-program-split'Brad King2017-09-143-1/+79
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 31f73eb1 get_filename_component: Revise PROGRAM/PROGRAM_ARGS split semantics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1251
| * | | | get_filename_component: Revise PROGRAM/PROGRAM_ARGS split semanticsBrad King2017-09-133-1/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The KWSys `SystemTools::SplitProgramFromArgs` implementation goes into an infinite loop when the value is just " " (a space). Since the "program path with unquoted spaces plus command-line arguments" operation it is trying to provide is poorly defined (string parsing should not depend on filesystem content), just stop using it. Instead consider the main two use cases the old approach tried to handle: * The value is the name or absolute path of a program with no quoting or escaping, but also no command-line arguments. In this case we can use the value as given with no parsing, and assume no arguments. * The value is a command-line string containing the program name/path plus arguments. In this case we now assume that the command line is properly quoted or escaped. Fixes: #17262
* | | | | Merge topic 'vs-fix-config-map'Brad King2017-09-142-8/+20
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64e973e9 Merge branch 'backport-vs-fix-config-map' into vs-fix-config-map c5b5bb27 VS: Do not consider MAP_IMPORTED_CONFIG_<CONFIG> on non-imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1256
| * | | | Merge branch 'backport-vs-fix-config-map' into vs-fix-config-mapBrad King2017-09-132-8/+20
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | VS: Do not consider MAP_IMPORTED_CONFIG_<CONFIG> on non-imported targetsBrad King2017-09-132-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc1~309^2 (include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG>, 2017-04-04) we accidentally honor `MAP_IMPORTED_CONFIG_<CONFIG>` while generating the `.sln` file entries for normal targets. This causes `devenv.com`-driven builds to use the mapping incorrectly for normal targets. Check that a target really comes from `include_external_msproject` before considering the map. Furthermore, when we do use the map, we should only take the first entry if more than one configuration is specified. Otherwise we end up giving VS a configuration name with a `;` in it. Fixes: #17276
| | * | | CMake 3.9.2v3.9.2Brad King2017-09-071-1/+1
| | | | |
| | * | | Merge branch 'backport-vs-csharp-ref-no-asm' into release-3.9Brad King2017-09-053-0/+23
| | |\ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1203
| | * \ \ \ Merge branch 'fix-genex-SOURCES' into release-3.9Brad King2017-09-011-1/+1
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1218
* | | | | | | CMake Nightly Date StampKitware Robot2017-09-141-1/+1
|/ / / / / /
* | | | | | Merge topic 'MsvcArm64'Brad King2017-09-135-1/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bc7c94fe MSVC: Add support for ARM64 architecture Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1215
| * | | | | | MSVC: Add support for ARM64 architectureMinmin Gong2017-09-125-1/+13
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 15.4 adds support for this architecture. Fixes: #17213
* | | | | | Merge topic 'ranged-for'Brad King2017-09-13133-3592/+2456
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d509579 Meta: modernize old-fashioned loops to range-based `for`. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1249
| * | | | | | Meta: modernize old-fashioned loops to range-based `for`.Pavel Solodovnikov2017-09-12133-3592/+2456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes done via `clang-tidy` with some manual fine-tuning for the variable naming and `auto` type deduction where appropriate.
* | | | | | | CMake Nightly Date StampKitware Robot2017-09-131-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge topic 'vs-clang-llvm-support'Brad King2017-09-121-2/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a4755ca VS: Update support for LLVM-vs* toolsets from LLVM 5.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1231
| * | | | | | VS: Update support for LLVM-vs* toolsets from LLVM 5.0Konstantin Ivlev2017-09-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.7.0-rc1~25^2 (VS: Recognize VS/LLVM toolset names as Clang, 2016-09-28). Since at least LLVM 5.0 the VS integration of the LLVM toolchain now mimics cl and accepts MSVC-style command-line arguments (unlike Microsoft Clang/C2). Fixes: #17193, #17235
* | | | | | | Merge topic 'get-or-create-source-group'Brad King2017-09-124-103/+85
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95b17c89 Use cmMakefile::GetOrCreateSourceGroup in cmQtAutogeneratorsInitializer a451995f Use cmMakefile::GetOrCreateSourceGroup in cmSourceGroupCommand 1e6569c9 cmMakefile: Add GetOrCreateSourceGroup methods 3e8b3e94 cmMakefile: Collect source group methods in one place Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1243
| * | | | | | Use cmMakefile::GetOrCreateSourceGroup in cmQtAutogeneratorsInitializerSebastian Holtermann2017-09-091-14/+1
| | | | | | |
| * | | | | | Use cmMakefile::GetOrCreateSourceGroup in cmSourceGroupCommandSebastian Holtermann2017-09-091-32/+2
| | | | | | |
| * | | | | | cmMakefile: Add GetOrCreateSourceGroup methodsSebastian Holtermann2017-09-092-0/+33
| | | | | | |
| * | | | | | cmMakefile: Collect source group methods in one placeSebastian Holtermann2017-09-092-57/+49
| | | | | | |
* | | | | | | Merge topic 'iwyu-update'Brad King2017-09-121-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea7177b9 cmCustomCommandGenerator: Fix include-what-you-use diagnostic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1252
| * | | | | | | cmCustomCommandGenerator: Fix include-what-you-use diagnosticBrad King2017-09-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `size_t` we should include `stddef.h`.
* | | | | | | | CMake Nightly Date StampKitware Robot2017-09-121-1/+1
|/ / / / / / /
* | | | | | | Merge topic 'vs_improve_custom_command'Brad King2017-09-114-8/+27
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ed24280 VS: only add custom command line if it is not empty 34c4108b add HasOnlyEmptyCommandLines() method to cmCustomCommandGenerator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1050
| * | | | | | | VS: only add custom command line if it is not emptyMichael Stürmer2017-09-042-8/+14
| | | | | | | |
| * | | | | | | add HasOnlyEmptyCommandLines() method to cmCustomCommandGeneratorMichael Stürmer2017-09-042-0/+13
| | | | | | | |
* | | | | | | | Merge topic 'timestamp'Brad King2017-09-111-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 014ad298 Timestamp: support %A and %B Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1228
| * | | | | | | | Timestamp: support %A and %BBernhard M. Wiedemann2017-09-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are defined both by [1] and [2] to give full names of a weekday and month. [1] http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html [2] https://msdn.microsoft.com/de-de/library/fe06s4ak.aspx
* | | | | | | | | Merge topic 'show_weighted_times'Brad King2017-09-112-101/+39
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b2242ea9 Help: Update documentation for PROCESSORS test property 5b829c89 CTest: Weight reported test times by PROCESSORS in summaries a6e32eb0 CTest: Split out labels and subproject labels in summary output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1226
| * | | | | | | | CTest: Weight reported test times by PROCESSORS in summariesBill Hoffman2017-09-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the times reported by labels and subprojects to be weighted by the PROCESSORS property. It is reported with `sec*proc` instead of just `sec`.
| * | | | | | | | CTest: Split out labels and subproject labels in summary outputBill Hoffman2017-09-082-99/+37
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit splits out the reporting of labels and labels used for sub projects. If a label is a sub project label it will not be included in the label summary. To implement this the commit creates PrintLabelOrSubprojectSummary which is able to do the work of both PrintLabelSummary and PrintSubprojectSummary avoiding code duplication.
* | | | | | | | CMake Nightly Date StampKitware Robot2017-09-111-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2017-09-101-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2017-09-091-1/+1
|/ / / / / /
* | | | | | Merge topic 'autogen-digests'Brad King2017-09-0810-1320/+1458
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6739a125 Autogen: Doc: Add Visual Studio PRE_BUILD note to cmake-qt.rst 2be0acb7 Autogen: Tests: Add AUTOGEN_TARGET_DEPENDS test to mocDepends tests 734d236c Autogen: Smarter target dependency computation 2e4dab08 Autogen: Set CM_DISABLE_COPY in cmQtAutoGenerators c330d641 Autogen: Replace CM_AUTO_PTR with std::unique_ptr 9468e926 Autogen: Refactor logging 2ba1b281 Autogen: More use of scoped lambdas 0f9080e2 Autogen: More use of scoped lambdas ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1198
| * | | | | | Autogen: Smarter target dependency computationSebastian Holtermann2017-09-072-74/+97
| | | | | | |
| * | | | | | Autogen: Set CM_DISABLE_COPY in cmQtAutoGeneratorsSebastian Holtermann2017-09-071-0/+1
| | | | | | |
| * | | | | | Autogen: Replace CM_AUTO_PTR with std::unique_ptrSebastian Holtermann2017-09-071-6/+5
| | | | | | |
| * | | | | | Autogen: Refactor loggingSebastian Holtermann2017-09-073-265/+373
| | | | | | |
| * | | | | | Autogen: More use of scoped lambdasSebastian Holtermann2017-09-071-35/+28
| | | | | | |