summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'messenger-no-cmake'Brad King2019-01-16105-610/+698
|\ | | | | | | | | | | | | cc2a5261f8 Factor out enum MessageType into dedicated header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2654
| * Factor out enum MessageType into dedicated headerBruno Manganelli2019-01-16105-610/+698
| | | | | | | | Reduce the number of files relying on `cmake.h`.
* | CMake Nightly Date StampKitware Robot2019-01-161-1/+1
|/
* Merge topic 'vs2019'Brad King2019-01-1511-62/+257
|\ | | | | | | | | | | | | | | | | | | 57e48f16f2 VS: Add Visual Studio 16 2019 generator bdef729646 VS: Parameterize VS 2017 generator to support future versions 68d316e0cf VS: Rename VS 2017 generator sources to be version-independent d8ed309d05 VS: Parameterize cmVSSetupAPIHelper instances with VS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2789
| * VS: Add Visual Studio 16 2019 generatorBrad King2019-01-118-8/+160
| | | | | | | | | | | | | | | | | | | | | | | | Add this generator *without* support for specifying the target architecture in the generator name. cmake-gui will be taught to provide a field for this, and command-line builds can use -A. Also, teach this generator to select a default target architecture based on the host architecture. Fixes: #18689 Inspired-by: Egor Pugin <egor.pugin@gmail.com>
| * VS: Parameterize VS 2017 generator to support future versionsBrad King2019-01-112-9/+42
| |
| * VS: Rename VS 2017 generator sources to be version-independentBrad King2019-01-115-37/+45
| | | | | | | | | | | | Rename `cmGlobalVisualStudio{15 => Versioned}Generator`. Rename `Factory` to `Factory15` since that part still needs to be version-specific.
| * VS: Parameterize cmVSSetupAPIHelper instances with VS versionBrad King2019-01-115-15/+17
| |
* | Merge topic 'simplify-boolean-expr'Brad King2019-01-158-41/+17
|\ \ | | | | | | | | | | | | | | | | | | 414aa6c81e clang-tidy: Simplify boolean expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2740
| * | clang-tidy: Simplify boolean expressionsRegina Pfeifer2019-01-158-41/+17
| | |
* | | Merge topic 'fix-source-group-CMakeLists.txt'Brad King2019-01-151-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 77303314dc Restore support for a custom source group for CMakeLists.txt Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2803
| * | | Restore support for a custom source group for CMakeLists.txtBrad King2019-01-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This accidentally dropped generation of the `.vcxproj.filters` entry for a source group in which `CMakeLists.txt` is the only member. Fixes: #18795
* | | | Merge topic 'extendwhitelist'Brad King2019-01-151-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59c408d053 cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2808
| * | | | cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'.Sebastian Lipponer2019-01-141-0/+1
| | | | |
* | | | | Merge topic 'vs10_cs_cf_support'Brad King2019-01-151-1/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b1364a2e3 cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2715
| * | | | | cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects.Wil Stark2019-01-111-1/+32
| | |_|_|/ | |/| | | | | | | | | | | | | Fixes: #18672
* | | | | Merge topic 'refactor-cmDocumentation'Brad King2019-01-153-91/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57862079d8 cmDocumentation: Get rid of raw pointers in AllSections map 4308eb3d16 cmDocumentationSection: Remove unused parameter in constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2692
| * | | | | cmDocumentation: Get rid of raw pointers in AllSections mapArtur Ryt2019-01-112-84/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also simplify a lot of logic around adding sections into it. Prefer move sematics over references.
| * | | | | cmDocumentationSection: Remove unused parameter in constructorArtur Ryt2019-01-112-16/+10
| |/ / / /
* | | | | Merge topic 'deprecate-policy-old'Brad King2019-01-151-1/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6845e2559d Add deprecation warnings for policies CMP0065 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2793
| * | | | | Add deprecation warnings for policies CMP0065 and belowBrad King2019-01-111-1/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.
* | | | | Merge topic 'update-kwsys'Brad King2019-01-152-18/+19
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d88739736 Merge branch 'upstream-KWSys' into update-kwsys a4841e12c0 KWSys 2019-01-14 (1541d849) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2801
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2019-01-142-18/+19
| | |_|/ | |/| | | | | | | | | | | | | | * upstream-KWSys: KWSys 2019-01-14 (1541d849)
* | | | Merge topic 'iwyu-clang-6'Brad King2019-01-1529-9/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd0881be61 IWYU: Update CMake code for IWYU built with Clang 6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2810
| * | | | IWYU: Update CMake code for IWYU built with Clang 6Brad King2019-01-1529-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | IWYU now correctly requires `<utility>` for `std::move`. It also requires a container header when used via a range-based for loop.
* | | | | Merge topic 'clang-scan-build-warnings'Kyle Edwards2019-01-159-4/+44
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e4b6bcbe8 Source/LexerParser: Suppress "Use of zero-allocated memory" warning 613323a78b cmGlobalUnixMakefileGenerator3: Fix memory leak warning bf2503089b liblzma: fix undefined shift result ee555c2a33 libuv: fix clang scan-build warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2796
| * | | | Source/LexerParser: Suppress "Use of zero-allocated memory" warningKyle Edwards2019-01-148-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang scan-build warns about YY_CURRENT_BUFFER_LVALUE being zero- allocated, but the whole point of the macro is to know that it's not zero. Wrap the entire file in an "#ifndef __clang_analyzer__" block in order to suppress the warning.
| * | | | cmGlobalUnixMakefileGenerator3: Fix memory leak warningKyle Edwards2019-01-141-4/+4
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | this->Makefiles.empty() is called twice, leading clang scan-build to falsely believe that the delete statement was causing a memory leak. Fix this by using a unique_ptr to hold the temporary cmMakefile. This also has the benefit of making the code exception-safe.
* | | | CMake Nightly Date StampKitware Robot2019-01-151-1/+1
|/ / /
* | | Merge topic 'drop-IRIX'Brad King2019-01-141-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | beb991110d Remove now-unused code once used on IRIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2791
| * | | Remove now-unused code once used on IRIXBrad King2019-01-111-1/+1
| | |/ | |/| | | | | | | | | | We dropped support for IRIX as a host platform long ago. Remove some leftover code.
* | | Merge topic 'cpplint-no-output-no-warning'Brad King2019-01-141-3/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | c834c47dfc cpplint: only print diagnostics to console if there are errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2788
| * | cpplint: only print diagnostics to console if there are errorsjasjuang2019-01-111-3/+6
| | | | | | | | | | | | Fixes: #18781
* | | Merge topic 'cmake-option-parsing'Brad King2019-01-143-16/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27eb7c5bdb cmake: Ensure source and binary dirs are set a1adbc7243 cmake: Stop processing if -P option lacks file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2799
| * | | cmake: Ensure source and binary dirs are setCraig Scott2019-01-132-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If only the source dir is provided, the binary dir is assumed to be the working directory. If only the binary dir is provided and it doesn't yet have a CMakeCache.txt to provide the source dir, then the source dir is assumed to be the working directory. This logic was not previously being handled correctly when -S and/or -B options were involved. Furthermore, when both were missing, no suitable error message was provided and an empty string was used for the build directory. Fixes: #18707
| * | | cmake: Stop processing if -P option lacks file nameCraig Scott2019-01-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While an error message was being logged, processing was continuing nonetheless except with the -P argument omitted. This could have allowed unintended effects if the remaining arguments formed a valid set of command line options.
| * | | Merge branch 'cmake-CDU-option-parsing' into release-3.13Brad King2019-01-101-0/+15
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2783
| | * | | cmake: distinguish '-Cpath' from '-C path' in source dir parsingPaul Seyfert2019-01-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This results in the correct source directory being picked up in calls with cmake sourcedir -C settings and in a more appropriate error message when calling mkdir build ; cd build ; cmake -C settings Also fix `-D` and `-U` in the same way.
* | | | | Merge topic 'autogen_noqt_warning'Brad King2019-01-141-3/+37
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0377fe1e2b Merge branch 'backport-autogen_noqt_warning' into autogen_noqt_warning dd39da5518 Tests: Add case for warning when AUTOMOC/UIC/RCC gets disabled f44a0414ae Autogen: Issue a warning when AUTOMOC/UIC/RCC gets disabled. 5ae69f5919 Autogen: Issue a warning when AUTOMOC/UIC/RCC gets disabled. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2787
| * | | | | Autogen: Issue a warning when AUTOMOC/UIC/RCC gets disabled.Sebastian Holtermann2019-01-101-3/+37
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | We used to silently disable AUTOMOC/UIC/RCC when no valid Qt version was found. This patch introduces the generation of a warning message in that case.
* | | | | CMake Nightly Date StampKitware Robot2019-01-141-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-01-131-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-01-121-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'vs-refactor'Brad King2019-01-1118-71/+100
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b91f6f39f7 VS: Track explicitly when platform is specified in generator name 89cc3d432b VS: Move platform name members to top-level global generator 40a732800d VS: Clarify global generator constructor interface 5ca7e5057b Help: Document VS generator default platform selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2786
| * | | | VS: Track explicitly when platform is specified in generator nameBrad King2019-01-104-3/+5
| | | | |
| * | | | VS: Move platform name members to top-level global generatorBrad King2019-01-104-36/+42
| | | | | | | | | | | | | | | | | | | | | | | | | We no longer support any VS versions that pre-date support for multiple platforms (target architectures).
| * | | | VS: Clarify global generator constructor interfaceBrad King2019-01-1017-35/+56
| |/ / / | | | | | | | | | | | | | | | | | | | | Make the constructors protected since they should be produced through factories. Also rename `platform{ => InGenerator}Name` to clarify the meaning of the argument.
* | | | Merge topic 'vs_ce_support'Brad King2019-01-112-0/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e4887e673 VS: Honor WinCE deployment properties in VS 2010+ a4332cac4b Tests: Detect VS and SDK availability early Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2680
| * | | | VS: Honor WinCE deployment properties in VS 2010+Wil Stark2019-01-102-0/+28
| |/ / / | | | | | | | | | | | | Previously only VS 2008 was supported.
* | | | Merge topic 'bison_target_policy'Brad King2019-01-111-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5000fed5af FindBISON: Add policy CMP0088 to run bison in build tree Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2774