Commit Graph
47352 Commits
Author SHA1 Message Date
Brad King 1bd768174a VS: Avoid VS 2017 toolset default use of /FC flag
VS 2017 toolsets now use this flag by default if `UseFullPaths` is
not explicitly set to `false` in the .vcxproj file.  Since there is
no negative form of this flag there is no way for projects to turn
it off through our flag map.  Also, the Makefile and Ninja generators
do not add this flag unless it is explicitly specified by the project.

Teach our generator to set `UseFullPaths` to `false` in VS 2017
unless the project or use has explicitly specified `/FC`.

Fixes: #18261
2018-08-23 14:05:00 -04:00
Craig Scott 91c9a52273 Merge topic 'tweak_unset_docs'
1a0f1a25a4 Help: Clarify the unset command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2300
2018-08-23 07:53:19 -04:00
Kitware Robot 9e68a4279b CMake Nightly Date Stamp 2018-08-23 00:01:10 -04:00
Kitware Robot 8901b9fe89 CMake Nightly Date Stamp 2018-08-22 00:01:06 -04:00
Robert Maynard 1a0f1a25a4 Help: Clarify the unset command 2018-08-21 14:16:32 -04:00
Kitware Robot b8dd624ebe CMake Nightly Date Stamp 2018-08-21 00:01:06 -04:00
Kitware Robot ac5ceee902 CMake Nightly Date Stamp 2018-08-20 00:01:07 -04:00
Kitware Robot ca97f492d8 CMake Nightly Date Stamp 2018-08-19 00:01:05 -04:00
Kitware Robot b82de2ab45 CMake Nightly Date Stamp 2018-08-18 00:01:25 -04:00
Craig Scott ffea7a479c Merge branch 'release-3.12' 2018-08-18 10:56:13 +10:00
Craig Scott 7e919ace31 Merge branch 'export-properties-undefined' into release-3.12
Merge-request: !2294
2018-08-18 10:54:47 +10:00
Craig Scott 6b1089399a Merge topic 'export-properties-undefined'
dbd3e2c53d EXPORT_PROPERTIES: Prevent null dereference for undefined property
b88bf6796e EXPORT_PROPERTIES: Add test for an undefined property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2294
2018-08-17 20:51:17 -04:00
Craig Scott 43027ce56d Merge topic 'link-options'
174721ecc0 LINK_OPTIONS property: add test for static library.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2284
2018-08-17 20:25:15 -04:00
Craig Scott 786af7a711 Merge topic 'evaluate-stdstring'
16e17376c7 EvaluateExpression() returns std::string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2293
2018-08-17 19:06:37 -04:00
Clinton Stimpson 5029d58c38 ctest: allow cdash submissions using alternate authentication methods 2018-08-17 09:18:07 -06:00
Kitware Robot 39cfdd6556 CMake Nightly Date Stamp 2018-08-17 00:01:10 -04:00
T.J. Corona 66f59bd7da cmake-gui: Update icons 2018-08-16 11:56:08 -04:00
Craig Scott dbd3e2c53d EXPORT_PROPERTIES: Prevent null dereference for undefined property
Fixes: #18260
2018-08-16 22:22:13 +10:00
Craig Scott b88bf6796e EXPORT_PROPERTIES: Add test for an undefined property
The added test verifies that a property listed in EXPORT_PROPERTIES
can be undefined. It confirms the crash recorded in issue #18260.
2018-08-16 22:21:25 +10:00
Vitaly Stakhovsky 16e17376c7 EvaluateExpression() returns std::string 2018-08-16 08:09:42 -04:00
Craig Scott 556ad468f5 Merge topic 'doc-cdash-upload-return-value'
a0916a4692 Help: Add RETURN_VALUE as an option to ctest_submit(CDASH_UPLOAD

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2291
2018-08-16 07:08:42 -04:00
Kitware Robot ba122ad2a4 CMake Nightly Date Stamp 2018-08-16 00:01:12 -04:00
Betsy McPhail a0916a4692 Help: Add RETURN_VALUE as an option to ctest_submit(CDASH_UPLOAD 2018-08-15 16:29:53 -04:00
Marc Chevrier 974de0e199 static library: add property STATIC_LIBRARY_OPTIONS
issue: #18251
2018-08-15 15:20:18 +02:00
Marc Chevrier 174721ecc0 LINK_OPTIONS property: add test for static library.
Check that property INTERFACE_LINK_OPTIONS is correctly propagated
from static libraries.

Issue: #18251
2018-08-15 14:40:36 +02:00
Craig Scott 349f8bfb25 Merge topic 'doc-consistently-reference-packagename'
30d08bdce9 doc: Consistently use <PackageName> for describing the name of a package

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2283
2018-08-15 08:18:49 -04:00
Craig Scott a6f7a01f3a Merge topic 'better_static_link_flags_docs'
6b17d85873 Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are used
9561d42f95 target_link_options: Add test to verify static library behavior

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2274
2018-08-15 07:58:39 -04:00
Craig Scott ca2e781703 Merge topic 'vsoptions-parse'
6ce56028d5 cmVisualStudioGeneratorOptions::Parse(): const std::string& argument

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2289
2018-08-15 07:50:46 -04:00
Kitware Robot e2924acef9 CMake Nightly Date Stamp 2018-08-15 00:01:05 -04:00
Jean-Christophe Fillion-Robin 30d08bdce9 doc: Consistently use <PackageName> for describing the name of a package 2018-08-14 20:54:56 +10:00
Nils Gladitz 4a0f664aaf CPackExt: Add CPACK_EXT_ENABLE_STAGING and CPACK_EXT_PACKAGE_SCRIPT
CPACK_EXT_ENABLE_STAGING enables optional staging
and CPACK_EXT_PACKAGE_SCRIPT allows to specify an optional
script file that can package staged files via an
external packaging tool.

Issue: #18236
2018-08-14 08:37:03 +02:00
Kitware Robot bc0b976776 CMake Nightly Date Stamp 2018-08-14 00:01:08 -04:00
Vitaly Stakhovsky 6ce56028d5 cmVisualStudioGeneratorOptions::Parse(): const std::string& argument 2018-08-13 18:22:11 -04:00
Craig Scott 505a713a04 Merge topic 'evaluate-stdstring'
c530e2f74f cmCompiledGeneratorExpression::Evaluate(): return const std::string&

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2279
2018-08-13 17:14:27 -04:00
Craig Scott 0eb4b0bb7b Merge topic 'state-directory-stdstring'
ada121e573 cmStateDirectory: use const std::string& for return values

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2277
2018-08-13 17:12:37 -04:00
Sebastian Holtermann 3aa11f31fc Autogen: Use integers to store the Qt version 2018-08-13 18:12:47 +02:00
Sebastian Holtermann 1d87c9f318 Autogen: Initializer: Group variables in structs 2018-08-13 11:31:39 +02:00
Kitware Robot cd8b094d1d CMake Nightly Date Stamp 2018-08-13 00:01:05 -04:00
Bastien Schatt e4ba1f5a94 VS: Disallow ReferenceOutputAssembly in ProjectReference if not possible
Explicitly turn off `ReferenceOutputAssembly` in `ProjectReference`
elements naming other project files whose types do not produce
assemblies.  We already do this for `C#` but it makes sense for other
languages too.

Fixes: #17906
2018-08-12 16:06:56 +02:00
Vitaly Stakhovsky ada121e573 cmStateDirectory: use const std::string& for return values 2018-08-12 18:59:21 +10:00
Kitware Robot 0f17dc51c2 CMake Nightly Date Stamp 2018-08-12 00:01:07 -04:00
Kitware Robot da3dc2f0cf CMake Nightly Date Stamp 2018-08-11 00:01:19 -04:00
Brad King eba2b13a83 Merge topic 'msvc-link-non-english'
7e359823c9 MSVC: Preserve linker output encoding
b7e7718a38 MSVC: Fix manifest resource encoding

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2261
2018-08-10 11:01:11 -04:00
Brad King 0077c8c263 Merge topic 'test_MocOsMacros_fix'
52676e3794 Autogen: Tests: Use non inverting Qt version tests
e7fb85d00d Autogen: Check if we can run the MocOsMacros test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2270
2018-08-10 10:50:46 -04:00
Brad King 5d995d7fdc Merge topic 'pgi-linux-ppc64le'
574666b6cb librhash: Avoid incorrect int8_t definition with PGI on Linux ppc64le

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2275
2018-08-10 10:48:53 -04:00
Kitware Robot 292542d207 CMake Nightly Date Stamp 2018-08-10 00:01:11 -04:00
Vitaly Stakhovsky c530e2f74f cmCompiledGeneratorExpression::Evaluate(): return const std::string& 2018-08-09 14:50:17 -04:00
Jean-Christophe Fillion-Robin 180c2f8de8 Ninja: Fix dupbuild error skipping alias with conflicting custom command
See-also: https://issues.slicer.org/view.php?id=4595

Reported-by: Isaiah Norton <inorton@bwh.harvard.edu>
2018-08-09 13:32:23 -04:00
Shane Parris 6f3b9e8b95 cmState: Clear GlobVerificationManager state on Reset
It should not persist across multiple configure rounds.

Fixes: #18208
2018-08-09 13:03:50 -04:00
Robert Maynard 6b17d85873 Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are used 2018-08-09 12:54:16 -04:00