Commit Graph

25590 Commits

Author SHA1 Message Date
Brad King 73aca0572b Merge topic 'vs_ce_support'
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
2019-01-11 10:06:58 -05:00
Brad King 9e8f2e509f Merge topic 'bison_target_policy'
5000fed5af FindBISON: Add policy CMP0088 to run bison in build tree

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2774
2019-01-11 07:52:05 -05:00
Kitware Robot ac0b59ef01 CMake Nightly Date Stamp 2019-01-11 00:01:05 -05:00
Robert Maynard 5000fed5af FindBISON: Add policy CMP0088 to run bison in build tree 2019-01-10 13:23:14 -05:00
Wil Stark 5e4887e673 VS: Honor WinCE deployment properties in VS 2010+
Previously only VS 2008 was supported.
2019-01-10 13:06:25 -05:00
Brad King 6092a770f6 Merge topic 'vs-refactor'
163cc8bbdd VS: Convert WriteSLNHeader to non-virtual lookup table
6d99406e69 VS: Move ExpressEdition member to top-level generator
03f74a16cd VS: Convert GetIDEVersion to non-virtual table lookup
d07f453f39 VS: Convert GetToolsVersion to non-virtual table lookup
757737075a VS: Remove unused MSBuild XML parsing script
5395c526fc cmake: Drop unused table entry for selecting default generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2780
2019-01-10 09:38:14 -05:00
Brad King 143fbde17b Merge topic 'ctest-show-as-json'
67209a9291 Tests: Add cases for ctest --show-only=json-v1
fc41a95f08 CTest: Add --show-only[=format] option to print test info
7b81d8c21e TestGenerator: Record support file and line where test was added
00530d74d5 Tests: Pass python interpreter into RunCMake.CTestCommandLine

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !2499
2019-01-10 09:37:25 -05:00
Brad King a1b3d79f72 Merge topic 'autogen-qt6'
cd32886b2f Autogen: Add AUTO(MOC|RCC|UIC)_EXECUTABLE target properties
9045f6a30f Autogen: Prepare for Qt 6

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2679
2019-01-10 09:33:48 -05:00
Tobias Hunger cd32886b2f Autogen: Add AUTO(MOC|RCC|UIC)_EXECUTABLE target properties
Allow to force moc/rcc/uic compiler used for AUTO(MOC|RCC|UIC).

Setting these properties is only necessary if you are going to do
strange things like build these tools as part of your own build system.

Setting these properties will also prevent cmake from testing the
binary: It is user-provided and assumed to be valid.
2019-01-10 08:03:24 -05:00
Brad King ecf3c5c6f3 Merge topic 'fix-msvc-warnings'
5bcfe98bd5 Source: Fix various compiler warnings in Visual Studio 2017
70e245f19e cmAlgorithms: add utility functions to get signed size of containers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2757
2019-01-10 08:00:44 -05:00
Brad King 163cc8bbdd VS: Convert WriteSLNHeader to non-virtual lookup table 2019-01-10 07:52:51 -05:00
Brad King 6d99406e69 VS: Move ExpressEdition member to top-level generator
We no longer support any VS versions that pre-date introduction of
express editions.
2019-01-10 07:52:49 -05:00
Brad King 03f74a16cd VS: Convert GetIDEVersion to non-virtual table lookup 2019-01-10 07:52:48 -05:00
Brad King d07f453f39 VS: Convert GetToolsVersion to non-virtual table lookup 2019-01-10 07:51:47 -05:00
Justin Goshi fc41a95f08 CTest: Add --show-only[=format] option to print test info
format can be 'human' to print the current text format or 'json-v1' to
print the test object model in json format and is useful for IDEs who
want to gather information about the tests. Defaults to 'human' format.
2019-01-10 07:37:32 -05:00
Kitware Robot f2a78aeed9 CMake Nightly Date Stamp 2019-01-10 00:01:04 -05:00
Brad King 757737075a VS: Remove unused MSBuild XML parsing script
It has been superseded by `cmConvertMSBuildXMLToJSON.py`.
2019-01-09 14:38:12 -05:00
Brad King 5395c526fc cmake: Drop unused table entry for selecting default generator
In `cmake::CreateDefaultGlobalGenerator` the table of registry entries
does not need an entry for VS 2017 because that is found via the VS
setup helper.
2019-01-09 11:31:55 -05:00
Bruno Manganelli 5bcfe98bd5 Source: Fix various compiler warnings in Visual Studio 2017 2019-01-09 08:25:10 -05:00
Brad King 90b08fc27b Merge topic 'vs2017-skip-2019'
d44f81c217 VS: Exclude VS 2019 instances when using VS 2017 generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2775
2019-01-09 08:13:02 -05:00
Kitware Robot 98103e38d0 CMake Nightly Date Stamp 2019-01-09 00:01:04 -05:00
Brad King d44f81c217 VS: Exclude VS 2019 instances when using VS 2017 generator
Filter instances reported by the VS Installer to consider only VS 2017
instances for the "Visual Studio 15 2017" generator.

Fixes: #18721
2019-01-08 14:10:16 -05:00
Justin Goshi 7b81d8c21e TestGenerator: Record support file and line where test was added
Add internal test properties that ctest can use to report where
the test was added in CMake code.
2019-01-08 11:22:11 -05:00
Kyle Edwards 6a796b57b2 Merge topic 'modernize-for'
1cf9c754db Source: Modernize for loops, add const modifiers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2765
2019-01-08 09:55:47 -05:00
Kitware Robot f5da1bb349 CMake Nightly Date Stamp 2019-01-08 00:01:05 -05:00
Craig Scott 5b7eb38e8e Merge topic 'fix-warn-uninitialized-in-configure'
cbf0c0fce4 cmake: Enable --warn-uninitialized inside string(CONFIGURE) and configure_file
1d32a35c10 cmCommandArgumentParserHelper: use cmMakefile::MaybeWarnUninitialized
67ac4ed1dc cmMakefile: Move uninitialized vars logic into MaybeWarnUninitialized()
5257af3634 cmMakefile: move common logic to IsProjectFile function

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2676
2019-01-07 15:33:52 -05:00
Craig Scott 6f904d0100 Merge topic 'nmake-compile-commands'
37c6a02dc2 CMake: fix nmake compile_commands generation
7583f7490e cmGlobalGenerator: Teach EscapeJSON to escape newlines and tabs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2648
2019-01-07 15:26:55 -05:00
Tobias Hunger 9045f6a30f Autogen: Prepare for Qt 6
Handle Qt version > 5 in Qt AutoGen.

This patch does *NOT* include tests and documentation: There is no
Qt 6 yet. I still need this patch to work on a cmake based build
system for Qt 6.
2019-01-07 14:13:10 +01:00
Kitware Robot c1e9b1c283 CMake Nightly Date Stamp 2019-01-07 00:01:06 -05:00
Kitware Robot d3e0e65de3 CMake Nightly Date Stamp 2019-01-06 00:01:04 -05:00
Kitware Robot 662ab10bc2 CMake Nightly Date Stamp 2019-01-05 00:01:05 -05:00
Craig Scott f789441179 Merge topic 'remove-std-iterator'
1b135cdff2 cmLinkedTree: Remove deprecated std::iterator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2767
2019-01-04 16:49:07 -05:00
Craig Scott aaf7c94ddb Merge topic 'get-ide-version-const'
77d83568e0 cmGlobalVisualStudioGenerator::GetIDEVersion(): const added

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2769
2019-01-04 16:47:01 -05:00
Kitware Robot 11fcecbaad CMake Nightly Date Stamp 2019-01-04 00:01:04 -05:00
Kitware Robot 6b163fc6e5 CMake Nightly Date Stamp 2019-01-03 00:01:06 -05:00
Craig Scott 124a8632cb Merge topic 'messenger-no-cmstate-v2'
8a803d784b cmMessenger: Decouple from cmState

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2653
2019-01-02 15:31:39 -05:00
Vitaly Stakhovsky 77d83568e0 cmGlobalVisualStudioGenerator::GetIDEVersion(): const added 2019-01-02 08:25:49 -05:00
Kitware Robot 88f1e79f3e CMake Nightly Date Stamp 2019-01-02 00:01:04 -05:00
Vitaly Stakhovsky 1b135cdff2 cmLinkedTree: Remove deprecated std::iterator 2019-01-01 16:51:50 -05:00
Kitware Robot 938e5c075a CMake Nightly Date Stamp 2019-01-01 00:01:05 -05:00
Bruno Manganelli 8a803d784b cmMessenger: Decouple from cmState 2019-01-01 11:55:08 +11:00
Craig Scott 124c741f7b Merge topic 'add-override'
94632087b2 Add missing override

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2763
2018-12-31 17:12:38 -05:00
Vitaly Stakhovsky 1cf9c754db Source: Modernize for loops, add const modifiers 2018-12-31 11:50:40 -05:00
Kitware Robot f941320ba1 CMake Nightly Date Stamp 2018-12-31 00:01:04 -05:00
Vitaly Stakhovsky 94632087b2 Add missing override 2018-12-30 12:32:55 -05:00
Kitware Robot ae8525b82f CMake Nightly Date Stamp 2018-12-30 00:01:05 -05:00
Artur Ryt cbf0c0fce4 cmake: Enable --warn-uninitialized inside string(CONFIGURE) and configure_file
Fixes: #18489
2018-12-30 08:31:09 +11:00
Artur Ryt 1d32a35c10 cmCommandArgumentParserHelper: use cmMakefile::MaybeWarnUninitialized
It removes logic duplication and need to have cached
WarnUninitialized and CheckSystemVars
2018-12-30 08:31:09 +11:00
Kitware Robot 3fe0b6f0ab CMake Nightly Date Stamp 2018-12-29 00:01:04 -05:00
Artur Ryt 67ac4ed1dc cmMakefile: Move uninitialized vars logic into MaybeWarnUninitialized() 2018-12-28 15:16:37 +01:00