summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmake_role-global-property'Brad King2019-01-1722-27/+105
|\ | | | | | | | | | | | | 4568d046c4 Properties: Add CMAKE_ROLE global property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2805
| * Properties: Add CMAKE_ROLE global propertyKyle Edwards2019-01-1722-27/+105
| | | | | | | | | | This property allows scripts to determine whether they're in project mode, script mode, find-package mode, CTest, or CPack.
* | Merge topic 'vs-debug-utility-targets'Brad King2019-01-171-49/+52
|\ \ | | | | | | | | | | | | | | | | | | 22b43b0009 VS: Add support for VS_DEBUGGER_* properties on custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2794
| * | VS: Add support for VS_DEBUGGER_* properties on custom targetsNils Gladitz2019-01-161-49/+52
| |/ | | | | | | | | | | Visual studio itself supports the corresponding `LocalDebugger*` properties on utility targets; support generating them from CMake as well.
* | Merge topic 'fix_csharp_defines'Brad King2019-01-171-0/+4
|\ \ | | | | | | | | | | | | | | | | | | a541d113e6 VS: Honor target_compile_definitions for C# projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2809
| * | VS: Honor target_compile_definitions for C# projectsWil Stark2019-01-161-0/+4
| | | | | | | | | | | | Fixes: #18698
* | | CMake Nightly Date StampKitware Robot2019-01-171-1/+1
| |/ |/|
* | Merge topic 'semi-warnings'Brad King2019-01-1624-55/+67
|\ \ | | | | | | | | | | | | | | | | | | b056bc3425 Fix most clang -Wextra-semi-stmt warnings in C++ files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2795
| * | Fix most clang -Wextra-semi-stmt warnings in C++ filesSean McBride2019-01-1524-55/+67
| |/ | | | | | | Suppress one in code generated by flex.
* | Merge topic 'swift'Brad King2019-01-163-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | b90e6134a7 Ninja: add new placeholder `SWIFT_AUXILIARY_SOURCES` Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Hancila <chancila@gmail.com> Acked-by: Aaron Dierking <aarondierking7@gmail.com> Merge-request: !2797
| * | Ninja: add new placeholder `SWIFT_AUXILIARY_SOURCES`Saleem Abdulrasool2019-01-153-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | The swift compilation model requires all sources for the module to be listed for the compiler to type check across them. Provide a placeholder to allow enumerating the remainder of the swift sources in a target for the language compile rule. Issue: #18800
* | | Merge topic 'autogen_adaptive_warning'Brad King2019-01-165-44/+78
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fe18eee13 Autogen: Adaptive missing Qt warning f2f1661334 Autogen: Add and use QtAutoGen::Tools method b2343ff086 Autogen: Fix rcc validity check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2806
| * | | Autogen: Adaptive missing Qt warningSebastian Holtermann2019-01-153-30/+38
| | | | | | | | | | | | | | | | | | | | This makes the warning message for a missing Qt use the requested Qt version in the message text.
| * | | Autogen: Add and use QtAutoGen::Tools methodSebastian Holtermann2019-01-153-13/+39
| | | |
| * | | Autogen: Fix rcc validity checkSebastian Holtermann2019-01-141-1/+1
| | | |
* | | | Merge topic 'support_per_toolset_json_flags'Brad King2019-01-164-70/+100
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8ba777f6d GlobalVisualStudio10Generator: Support non-standard toolset json flag files. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2772
| * | | | GlobalVisualStudio10Generator: Support non-standard toolset json flag files.Stephan Szabo2019-01-034-70/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If given a toolset that does not have an explicit mapping in cmVisualStudio10ToolsetOptions, check for a json flag file using the toolset name before trying the default toolset for the generator.
* | | | | 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