Commit Graph

34476 Commits

Author SHA1 Message Date
KWSys Upstream 219c7bdcb1 KWSys 2017-01-16 (a423d829)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit a423d82989a4b89fa7d17f3dd5215684e902208e (master).

Upstream Shortlog
-----------------

Ben Boeckel (1):
      45db0937 SystemTools: use PathExists where appropriate

Brad King (1):
      e08eee61 SystemTools: Fix conversion warning in test case

Eric Berge (1):
      687fcd79 Add -lsocket for libcmsys.a build on SunOS

Gregor Jasny (1):
      0541ce21 SystemTools: Fix off-by-one in GetLineFromStream with size limit
2017-01-16 14:06:28 -05:00
Brad King f38644527c cmCTestBuildHandler: Fix warning in FragmentCompare signature
```
warning: the specified comparator type does not provide a const call
operator [-Wuser-defined-warnings]
```

Reported-by: Sean McBride <sean@rogue-research.com>
2017-01-16 13:52:17 -05:00
Craig Scott 298b5b31ca CTest: Ensure setup/cleanup ordering even when fixture not required
Closes: #16558
2017-01-16 11:29:24 -05:00
Florent Castelli cdf7e5d866 FindICU: Add 'include' to the path suffixes
Without this FindICU doesn't recognise the installation within homebrew.
2017-01-16 11:27:02 -05:00
Ben Boeckel 5201a3065b FindHDF5: use the target rather than the path
On Windows, the `LOCATION` property gets the path to the `.dll` rather
than the `.lib` which is unsuitable for linking.
2017-01-16 11:13:48 -05:00
Brad King 35ad12f99e Merge topic 'source_group-tree'
b42330be source_group: Add options create groups matching directory tree
2017-01-16 11:01:38 -05:00
Brad King 47d391d71d Merge topic 'csharp_simple'
397b8546 VS: added documentation for C# support
a7dd8e66 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)
6fda6005 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS
2017-01-16 11:01:29 -05:00
Brad King a67baf0af0 Merge topic 'Autogen_Config'
bb670d96 Autogen: Generators: Remove space
3f86032b Autogen: Generators: Rename requiresMocing method
f24e1d37 Autogen: Generators: Fix clang-tidy readability-else-after-return
f27c5852 Autogen: Initializer: Add old settings file to clean files
d7d2cb48 Autogen: Generators: Save the UIC/RCC settings that were actually used
721997a7 Autogen: Generators: Dedicated generateAll variables for MOC/UIC/RCC
9f47d326 Autogen: Generators: Save the MOC settings that were actually used
597124ba Autogen: Generators: Add function to read makefile definitions config aware
2b400b24 Autogen: Generators: Move moc/uic/rcc executable test to generate method
edf0b8a5 Autogen: Generators: Rename GenerateFoo methods to FooGenerate
06430919 Autogen: Generators: Use FileAbsentOrOlder for UIC tests
ca179f2a Autogen: Generators: Use FileAbsentOrOlder for MOC tests
119791ae Autogen: Generators: Introduce FileAbsentOrOlder function
95e4cfc5 Autogen: Generators: Simplify (and fix) JoinExts function
6c55755b Autogen: Generators: Make class static method a source static function
1491ab1c Autogen: Generators: Make class static method a source static function
...
2017-01-16 11:01:26 -05:00
Brad King 9aa2ec7787 Merge topic 'fast-local-and-strip-install'
1b63ce86 Makefiles: Make fast local and strip install truly fast
2017-01-16 11:01:23 -05:00
Brad King 4433be6bce Merge topic 'cuda-no-def-file-for-device'
05dbc940 CUDA: Don't use module definition `.def` files for device linking
2017-01-16 11:01:20 -05:00
Brad King 743085a579 Merge topic 'cuda_propagate_flags_when_dlink_on_executables'
8d1f9e5b CUDA: Now pass correct FLAGS when device link cuda executables.
dc5051f1 CUDA: Test that CUDA flags are used when device linking executables.
2017-01-16 11:01:17 -05:00
Brad King 94332a3ed8 Merge topic 'ninja-no-static-lib-def-file'
47ffa0ea Ninja: Do not use module definition `.def` files for static libraries
2017-01-16 11:01:14 -05:00
Brad King 8a8aff612c Merge topic 'vs15-detect-from-installer'
0362c60f cmVSSetupHelper: Simplify use of EnumerateAndChooseVSInstance
577f721f VS: Fix detection of VS 2017 installation with WindowsStore
2017-01-16 11:01:11 -05:00
Brad King 4680e469f6 Merge topic 'usage-cpack-ifw-configure-file'
49717993 QtIFW: Improved packaging
2017-01-16 11:01:08 -05:00
Brad King 034e1723db Merge topic 'clang-3.1-3.3-cpp11'
9fe399e3 Features: activate C++11 support for Clang 3.1+
2017-01-16 11:01:05 -05:00
Brad King 0f3bb10dbe Merge topic 'fix_repeat_until_fail_duplicated_output'
a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
2017-01-16 11:01:02 -05:00
Brad King 2ad405202e Merge topic 'sparc-libatomic'
cda9a904 Explicitly link against libatomic on Linux/sparc for `__atomic_fetch_add_4`
2017-01-16 11:00:59 -05:00
Mateusz Janek b42330be21 source_group: Add options create groups matching directory tree
Add `TREE` and `PREFIX` arguments to enable this behavior.
2017-01-16 10:52:48 -05:00
Brad King 2bba0bfc2c file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories
optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no
expression causes a crash.  Fix the logic to avoid the crash.

Fixes: #16565
2017-01-16 10:47:32 -05:00
Kitware Robot 7bd1d53505 CMake Nightly Date Stamp 2017-01-16 00:01:04 -05:00
Kitware Robot be5b310cca CMake Nightly Date Stamp 2017-01-15 00:01:05 -05:00
Kitware Robot b3d675f1cb CMake Nightly Date Stamp 2017-01-14 00:01:06 -05:00
Ed Branch 7c8ab7ddc8 add_custom_{command,target}: Add COMMAND_EXPAND_LISTS option
This option allows lists generated by generator expressions to be expanded.

Closes: #15935
2017-01-13 20:02:16 -06:00
Brad King 85a8939e2f Merge topic 'docs-function-exists'
4ae2dcb1 CheckFunctionExists: Document suggestion to use CheckSymbolExists instead.
2017-01-13 14:07:17 -05:00
Brad King 63e550e54f Merge branch 'release' 2017-01-13 10:19:00 -05:00
Mike Gelfand 1b63ce865e Makefiles: Make fast local and strip install truly fast
When using a Makefiles generator, `install/local/fast` and
`install/strip/fast` targets are not at all fast.  They depend on
`install/local` and `install/strip` targets respectively instead of
`preinstall/fast` and don't contain any commands instead of repeating
commands in `install/local` and `install/strip`. The issue was
introduced by simple typos in commits v2.6.0~2825 (Adding install/local
global target for Makefile generators, 2006-08-29) and v2.6.0~1743 (add
install/strip target for makefile generators, 2007-05-18).
2017-01-13 09:16:16 -05:00
Brad King 35413bf2c1 CMake 3.7.2 v3.7.2 2017-01-13 08:58:58 -05:00
Michael Stürmer 397b854620 VS: added documentation for C# support 2017-01-13 09:28:14 +01:00
Michael Stürmer a7dd8e6692 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015) 2017-01-13 09:28:13 +01:00
Michael Stürmer 6fda6005b3 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS 2017-01-13 09:27:21 +01:00
Kitware Robot 7f5842d7d9 CMake Nightly Date Stamp 2017-01-13 00:01:05 -05:00
Sebastian Holtermann bb670d9625 Autogen: Generators: Remove space 2017-01-13 00:00:45 +01:00
Sebastian Holtermann 3f86032bda Autogen: Generators: Rename requiresMocing method 2017-01-13 00:00:45 +01:00
Sebastian Holtermann f24e1d37ce Autogen: Generators: Fix clang-tidy readability-else-after-return 2017-01-13 00:00:45 +01:00
Sebastian Holtermann f27c5852b0 Autogen: Initializer: Add old settings file to clean files 2017-01-13 00:00:44 +01:00
Sebastian Holtermann d7d2cb48c6 Autogen: Generators: Save the UIC/RCC settings that were actually used 2017-01-13 00:00:44 +01:00
Sebastian Holtermann 721997a7a2 Autogen: Generators: Dedicated generateAll variables for MOC/UIC/RCC 2017-01-13 00:00:44 +01:00
Sebastian Holtermann 9f47d32697 Autogen: Generators: Save the MOC settings that were actually used 2017-01-13 00:00:44 +01:00
Sebastian Holtermann 597124ba8e Autogen: Generators: Add function to read makefile definitions config aware 2017-01-13 00:00:44 +01:00
Sebastian Holtermann 2b400b2421 Autogen: Generators: Move moc/uic/rcc executable test to generate method 2017-01-13 00:00:44 +01:00
Sebastian Holtermann edf0b8a52b Autogen: Generators: Rename GenerateFoo methods to FooGenerate 2017-01-13 00:00:44 +01:00
Sebastian Holtermann 06430919f4 Autogen: Generators: Use FileAbsentOrOlder for UIC tests 2017-01-13 00:00:43 +01:00
Sebastian Holtermann ca179f2afc Autogen: Generators: Use FileAbsentOrOlder for MOC tests 2017-01-13 00:00:43 +01:00
Sebastian Holtermann 119791ae52 Autogen: Generators: Introduce FileAbsentOrOlder function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann 95e4cfc594 Autogen: Generators: Simplify (and fix) JoinExts function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann 6c55755bdd Autogen: Generators: Make class static method a source static function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann 1491ab1c66 Autogen: Generators: Make class static method a source static function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann 29112c9a69 Autogen: Generators: Static function upper case rename 2017-01-13 00:00:42 +01:00
Sebastian Holtermann 6d333be14d Autogen: Generators: Static function upper case rename 2017-01-13 00:00:42 +01:00
Sebastian Holtermann 52688bf745 Autogen: Generators: Sort methods by task 2017-01-13 00:00:42 +01:00