summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'implicit-includes-autogen'Brad King2019-03-291-8/+13
|\ | | | | | | | | | | | | a8b7cbb787 Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3159
| * Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit includeSebastian Holtermann2019-03-281-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `cmLocalGenerator::GetIncludeDirectoriesImplicit` method is called by `cmQtAutoGenInitializer` to get the compiler's list of implicit include directories. Since commit 557b2d6e65 (Fix regression in -I/usr/include exclusion logic, 2019-02-13, v3.14.0-rc2~6^2~2) the method hard-codes exclusion of `/usr/include` for historical reasons. However, it should not be reported as a real implicit include directory unless the compiler really has it. Refactor the logic to distinguish the hard-coded exclusion of `/usr/include` from the real list of implicit include directories. Fixes: #19100
| * Merge branch 'jacoco_parser_crash' into release-3.14Brad King2019-03-271-0/+1
| |\ | | | | | | | | | Merge-request: !3147
| * \ Merge branch 'toolchain-include_directories' into release-3.14Brad King2019-03-251-1/+16
| |\ \ | | | | | | | | | | | | Merge-request: !3140
| * \ \ Merge branch 'eclipse-interface-lib' into release-3.14Brad King2019-03-201-0/+5
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3125
| * \ \ \ Merge branch 'find_program-windows-share' into release-3.14Brad King2019-03-141-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3105
* | \ \ \ \ Merge topic 'update-kwsys'Brad King2019-03-298-39/+179
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15be06a5ec Tests: Fix Plugin test for international characters on Windows 24da7da686 Merge branch 'upstream-KWSys' into update-kwsys 8166634958 KWSys 2019-03-28 (e92bdbe8) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3158
| * | | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2019-03-288-39/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2019-03-28 (e92bdbe8)
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-291-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-281-1/+1
| | | | | | |
* | | | | | | Merge topic 'jacoco_parser_crash'Brad King2019-03-271-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | 1d16eae868 ctest_coverage: fix out-of-bounds index in Jacoco parser Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3147
| * | | | | ctest_coverage: fix out-of-bounds index in Jacoco parserSylvain Joubert2019-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the current source file is not found the FilePath variable was left with the previous path content. In case the previous file had less lines than the current one and there are 'line' entries for the current one with higher number we ended up in a buffer overflow while indexing the previous file entry with a line number higher. By clearing the FilePath, the empty() guard triggers correctly on an empty path and it avoid modifying the wrong data.
* | | | | | Merge topic 'cmTarget_pimpl'Brad King2019-03-2711-593/+627
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de0d57c97a cmTarget: Use std::unique_ptr instead of custom smart pointer ecc782c75d cmTarget: Single line comment clanups be2764a657 cmTarget: Make private `SetPropertyDefault` an in code lambda `InitProperty` 2bfee8a58b cmTarget: Remove obsolete `friend` definitions a65a404186 cmTarget: Inline private HasImportLibrary method ff91071a14 cmTarget: Move member method `CheckImportedLibName` to impl afc4612fa5 cmTarget: Move member method `ProcessSourceItemCMP0049()` to impl 72b0eeeb21 cmTarget: Move member booleans to impl ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !3142
| * | | | | | cmTarget: Use std::unique_ptr instead of custom smart pointerSebastian Holtermann2019-03-232-52/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To manage the lifetime of `cmTargetInternals`, the private implementation of `cmTarget`, use `std::unique_ptr<cmTargetInternals>` instead of `cmTargetInternalPointer`, which is removed. `cmTarget` is made non-copyable but movable.
| * | | | | | cmTarget: Single line comment clanupsSebastian Holtermann2019-03-231-9/+7
| | | | | | |
| * | | | | | cmTarget: Make private `SetPropertyDefault` an in code lambda `InitProperty`Sebastian Holtermann2019-03-232-135/+124
| | | | | | |
| * | | | | | cmTarget: Remove obsolete `friend` definitionsSebastian Holtermann2019-03-231-5/+3
| | | | | | |
| * | | | | | cmTarget: Inline private HasImportLibrary methodSebastian Holtermann2019-03-232-11/+3
| | | | | | |
| * | | | | | cmTarget: Move member method `CheckImportedLibName` to implSebastian Holtermann2019-03-232-11/+11
| | | | | | |
| * | | | | | cmTarget: Move member method `ProcessSourceItemCMP0049()` to implSebastian Holtermann2019-03-232-12/+12
| | | | | | |
| * | | | | | cmTarget: Move member booleans to implSebastian Holtermann2019-03-232-32/+59
| | | | | | |
| * | | | | | cmTarget: Move member `*Commands` to implSebastian Holtermann2019-03-239-33/+53
| | | | | | |
| * | | | | | cmTarget: Move member `RuntimeInstallPath` to implSebastian Holtermann2019-03-233-10/+14
| | | | | | |
| * | | | | | cmTarget: Move member `InstallPath` to implSebastian Holtermann2019-03-233-4/+14
| | | | | | |
| * | | | | | cmTarget: Move member `Name` to implSebastian Holtermann2019-03-232-13/+18
| | | | | | |
| * | | | | | cmTarget: Move member `TLLCommands` to implSebastian Holtermann2019-03-232-6/+7
| | | | | | |
| * | | | | | cmTarget: Move member `Backtrace` to implSebastian Holtermann2019-03-232-4/+3
| | | | | | |
| * | | | | | cmTarget: Move member `PolicyMap` to implSebastian Holtermann2019-03-232-4/+21
| | | | | | |
| * | | | | | cmTarget: Move member `OriginalLinkLibraries` to implSebastian Holtermann2019-03-233-15/+13
| | | | | | |
| * | | | | | cmTarget: Move member `Utilities` to implSebastian Holtermann2019-03-232-12/+15
| | | | | | |
| * | | | | | cmTarget: Move member `SystemIncludeDirectories` to implSebastian Holtermann2019-03-232-8/+10
| | | | | | |
| * | | | | | cmTarget: Move member `Properties` to impl classSebastian Holtermann2019-03-232-8/+13
| | | | | | |
| * | | | | | cmTarget: Move member `Makefile` to implSebastian Holtermann2019-03-232-81/+84
| | | | | | |
| * | | | | | cmTarget: Move member `TargetType` to implSebastian Holtermann2019-03-232-18/+21
| | | | | | |
| * | | | | | cmTarget: Rename member `Internal` to `impl`Sebastian Holtermann2019-03-232-130/+124
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-271-1/+1
| | | | | | |
* | | | | | | Merge topic 'cmGlobalGenerator_code_maintenance'Brad King2019-03-261-71/+41
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b289243d99 cmGlobalGenerator: Inline `aRange` acquisition in `for(x:aRange)` invocations bf9afa1e15 cmGlobalGenerator: Use auto for long iterator types Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !3144
| * | | | | | | cmGlobalGenerator: Inline `aRange` acquisition in `for(x:aRange)` invocationsSebastian Holtermann2019-03-251-27/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the following code snippets in `cmGlobalGenerator` ``` AType aRange = object.getRange(); for ( auto & item: aRange) { ``` to ``` for ( auto & item: object.getRange()) { ```
| * | | | | | | cmGlobalGenerator: Use auto for long iterator typesSebastian Holtermann2019-03-251-44/+30
| |/ / / / / /
* | | | | | | Merge topic 'fix_autogen_deadlock'Brad King2019-03-262-3/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e7a760fe7d Autogen: Fix deadlock when uv_spawn() fails while trying to run moc Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Sebastian Holtermann <sebholt@xwmw.org> Merge-request: !3139
| * | | | | | | Autogen: Fix deadlock when uv_spawn() fails while trying to run mocAlexandru Croitor2019-03-252-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If by some chance the moc executable does not exist while running AUTOMOC, instead of showing an error, the CMake Autogen invocation hangs indefinitely. This happens because UVProcessFinished() is not called if the process does not launch correctly. Make sure to call UVProcessFinished() even if the process launch fails, and also report the error returned by libuv.
* | | | | | | | Merge topic 'toolchain-include_directories'Brad King2019-03-261-1/+16
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 588fa1bb9e Restore support for include_directories() in toolchain files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3140
| * | | | | | | Restore support for include_directories() in toolchain filesBrad King2019-03-251-1/+16
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any `include_directories()` calls in toolchain files are used during our ABI detection step even though it does not include any system headers. Since commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2), that check is also used to detect implicit include directories. Any `include_directories()` in a toolchain file are detected as implicit and later excluded from explicit specification on compiler command lines, thus breaking the purpose of the calls in the first place. Fix the implicit include directory detection step to avoid using paths from `include_directories()` calls in the toolchain file. Fixes: #19079
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-261-1/+1
| | | | | | |
* | | | | | | Merge topic 'ctest_submit_get_buildid'Brad King2019-03-252-21/+40
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba7e44eb7a ctest_submit: Add option BUILD_ID Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !3120
| * | | | | | | ctest_submit: Add option BUILD_IDZack Galbreath2019-03-222-21/+40
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #18968
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-251-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-241-1/+1
| |_|/ / / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-03-231-1/+1
|/ / / / /
* | | | | Merge topic 'ghs-linux'Brad King2019-03-2210-82/+137
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c43fb5be3 FindThreads: Fix pthread library check in GHS Multi Generator 0404efe786 GHS: Add support for GHS Multi Generator in Linux 2060a1445c Tests: Fix file name case in GHS object library test ddad70c8a4 Tests: Run GHS tests in a separate ctest process f7dca1fc97 GHS: Fix include-what-you-use and clang-tidy diagnostics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3006