Commit Graph

34197 Commits

Author SHA1 Message Date
Kitware Robot
65c18b2141 CMake Nightly Date Stamp 2016-12-22 00:01:04 -05:00
Kitware Robot
6154a2cddc CMake Nightly Date Stamp 2016-12-21 00:01:04 -05:00
Kitware Robot
4918cd8c98 CMake Nightly Date Stamp 2016-12-20 00:01:04 -05:00
Kitware Robot
3657ac9fbb CMake Nightly Date Stamp 2016-12-19 00:01:04 -05:00
Kitware Robot
77468c751f CMake Nightly Date Stamp 2016-12-18 00:01:04 -05:00
Kitware Robot
9639b2f7e7 CMake Nightly Date Stamp 2016-12-17 00:01:05 -05:00
Brad King
0a9e4e08b5 Merge topic 'FindGit-fix-cross-compile'
caeb6d1d FindGit: Fix check for Windows host
2016-12-16 08:26:23 -05:00
Brad King
b5c7835e27 Merge topic 'cuda_tests_now_explain_why_they_fail'
c59811a2 CUDA: Tests now state why they are failing when no CUDA card is found.
2016-12-16 08:26:20 -05:00
Brad King
58dc3745ec Merge topic 'FindPythonLibs-tolerate-components'
a12d8a03 FindPythonLibs: Tolerate call with PYTHON_LIBRARY already a list
2016-12-16 08:26:16 -05:00
Brad King
ed8a9cb7de Merge topic 'refactor-compile-pdb-path'
6271df8f Makefile,Ninja: De-duplicate MSVC compiler PDB path selection
2016-12-16 08:26:12 -05:00
Brad King
4a06479874 Merge topic 'csharp_support_compiler_detection'
5c6c0344 C# support: add compiler detection for MSVC
2016-12-16 08:26:06 -05:00
Brad King
5c616c1089 Merge topic 'copyright-year'
40e56149 Copyright.txt: Update year range to end in 2017
2016-12-16 08:25:50 -05:00
Kitware Robot
25d7b8836d CMake Nightly Date Stamp 2016-12-16 00:01:04 -05:00
Brad King
6271df8ff5 Makefile,Ninja: De-duplicate MSVC compiler PDB path selection
Add a helper to cmCommonTargetGenerator instead of duplicating it
in cmMakefileTargetGenerator and cmNinjaTargetGenerator.
2016-12-15 16:20:21 -05:00
Robert Maynard
c59811a233 CUDA: Tests now state why they are failing when no CUDA card is found. 2016-12-15 15:57:01 -05:00
Brad King
40e5614923 Copyright.txt: Update year range to end in 2017 2016-12-15 15:51:59 -05:00
José Simões
caeb6d1dfb FindGit: Fix check for Windows host
When cross-compiling to or from a Windows platform we should still
find a Git for the host environment.
2016-12-15 09:57:30 -05:00
Brad King
59461c2696 Merge topic 'FindPNG-typo'
9fdad82c FindPNG: Fix small typo fix in module help
2016-12-15 09:42:48 -05:00
Maxime Morel
9fdad82c48 FindPNG: Fix small typo fix in module help 2016-12-15 09:38:51 -05:00
Francois Budin
a12d8a03af FindPythonLibs: Tolerate call with PYTHON_LIBRARY already a list
`PYTHON_LIBRARY` may contain a list because of `SelectLibraryConfigurations`.
If it is the case, the list can be:

    optimized;<FILEPATH_TO_RELEASE_LIBRARY>;debug;<FILEPATH_TO_DEBUG_LIBRARY>

Instead of directly using the value of `PYTHON_LIBRARY` in the CMake
function `get_filename_component()`, we loop over the content of the
relevant parts of `PYTHON_LIBRARY` and `PYTHON_DEBUG_LIBRARY` whether
they are lists or not.

Suggested-by: Brad King <brad.king@kitware.com>
2016-12-15 09:34:48 -05:00
Brad King
94c6040b73 Merge topic 'codelite-build-and-clean-targets-enhancement'
f1739418 CodeLite: Make build/clean/rebuild operations optionally target-centric
2016-12-15 09:29:59 -05:00
Brad King
a9fee0667e Merge topic 'doc-clarify-CMAKE_CL_64'
58f02aaa Help: Clarify meaning of CMAKE_CL_64
2016-12-15 09:29:56 -05:00
Brad King
a20edeebd2 Merge topic 'update-kwsys'
da03e2d6 Merge branch 'upstream-KWSys' into update-kwsys
a9ea66bd KWSys 2016-12-14 (95a7e234)
24130757 update-kwsys: Update repository URL
2016-12-15 09:29:53 -05:00
Michael Stürmer
5c6c0344d3 C# support: add compiler detection for MSVC 2016-12-15 09:16:30 -05:00
Kitware Robot
517c7cca8c CMake Nightly Date Stamp 2016-12-15 00:01:10 -05:00
Brad King
da03e2d6c6 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2016-12-14 (95a7e234)
2016-12-14 11:19:03 -05:00
KWSys Upstream
a9ea66bd66 KWSys 2016-12-14 (95a7e234)
Code extracted from:

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

at commit 95a7e234ffd0c6bdfaa8b21c59a119198c050164 (master).

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

Ben Boeckel (1):
      e0967411 Add a script to help update third-party sources

Brad King (10):
      98505f79 Add script to update GitSetup from upstream
      365edba8 GitSetup: Tell Git not to export .gitattributes
      41a7fe5b Add pre-commit hook to check whether SetupForDevelopment must re-run
      17a1200c Convert developer setup scripts away from Gerrit Code Review
      5f206c3a Tell Git to use a distinct conflict marker size in `.rst` files
      33f828d4 README: Convert from `.txt` to `.rst` markup
      56b707dd README: Add section about reporting bugs
      140357ea CONTRIBUTING: Document contribution through the Kitware GitLab Instance
      4b7bf8e4 Tell Git not to export any `.sh` or `.bash` scripts
      e25eb8dc CONTRIBUTING: Add step for running developer setup script

GitSetup Upstream (3):
      fed3d191 GitSetup 2012-09-27 (341043cf)
      a0144297 GitSetup 2016-12-13 (8af10838)
      868c1e68 GitSetup 2016-12-13 (cd5ada6d)
2016-12-14 11:16:55 -05:00
Brad King
2413075765 update-kwsys: Update repository URL
KWSys is now hosted on Kitware's GitLab instance.
2016-12-14 11:16:47 -05:00
Brad King
58f02aaa4d Help: Clarify meaning of CMAKE_CL_64
Closes: #16504
2016-12-14 11:11:55 -05:00
Minze Zwerver
f173941855 CodeLite: Make build/clean/rebuild operations optionally target-centric
When `CMAKE_CODELITE_USE_TARGETS` is enabled, these operations should
be target-centric too.
2016-12-14 09:55:41 -05:00
Brad King
858081c2f9 Merge topic 'cuda-implicit-libs'
e3f404fe CUDA: Implement nvcc implicit link line extraction more robustly
2016-12-14 09:52:08 -05:00
Brad King
788581883f Merge topic 'rebuild-lexers'
c5df1f16 Regenerate lexer source code
2016-12-14 09:52:05 -05:00
Brad King
60e5f61917 Merge topic 'dotnet_hint_references'
55da7e50 VS: add support for .NET references with hint paths
2016-12-14 09:52:02 -05:00
Brad King
2674818ee1 Merge topic 'GNUInstallDirs-cache-type'
53b5d634 GNUInstallDirs: Set UNINITALIZED cache properties to type PATH
c968213d GNUInstallDirs: Unify path logic into helper macros
2016-12-14 09:51:59 -05:00
Brad King
062645ca67 Merge topic 'update-kwsys-upstream-link'
23a35edf pre-commit: Update KWSys rejection message for new upstream location
2016-12-14 09:51:56 -05:00
Daniel Pfeifer
c5df1f165c Regenerate lexer source code
Revise the manual procedure in the `*Lexer.in.l` files.  Some of our
post-processing steps are no longer necessary with the current set of
supported compilers.  Some steps changed with newer versions of flex.

Then regenerate all lexers with flex version 2.6.1.
2016-12-14 09:40:33 -05:00
Kitware Robot
61001557d4 CMake Nightly Date Stamp 2016-12-14 00:01:04 -05:00
Brad King
23a35edf4d pre-commit: Update KWSys rejection message for new upstream location 2016-12-13 14:40:39 -05:00
Michael Stürmer
55da7e501e VS: add support for .NET references with hint paths 2016-12-13 13:51:50 -05:00
Brad King
e3f404fe29 CUDA: Implement nvcc implicit link line extraction more robustly
Do not assume that the implicit link line is the last line of the output
from `nvcc -v`.  Instead first find the `LIBRARIES=` line, and then look
for that content on a later line.  It appears twice.  First on a call to
`nvlink`, which we ignore.  Later it appears on the implicit link line.
Extract the latter line.  On failure, abort with a `FATAL_ERROR` so that
the user does not try to build without proper link information.

Once we have the line, parse it with `separate_arguments` using the
`UNIX_COMMAND` option just like `CMakeParseImplicitLinkInfo` already
does.  This robustly parses the command line and removes quoting.
Then extract the first argument as the host link launcher.
2016-12-13 11:01:40 -05:00
Brad King
10ca398b44 Merge topic 'try_compile-lang-std-cuda'
1371eec4 try_compile: extend CMP0067 to honor language standards for CUDA.
2016-12-13 08:45:54 -05:00
Brad King
c241679956 Merge topic 'GetPrerequisites-fix-find_program-call'
1d1f29f4 GetPrerequisites: Fix call to find_program for `ri` tool
2016-12-13 08:45:50 -05:00
Kitware Robot
e3a93c66cc CMake Nightly Date Stamp 2016-12-13 00:01:05 -05:00
Roger Leigh
53b5d6345d GNUInstallDirs: Set UNINITALIZED cache properties to type PATH
Also convert the path to a cmake path
2016-12-12 22:23:26 +00:00
Roger Leigh
c968213d2e GNUInstallDirs: Unify path logic into helper macros
- Unify path handling: Rather than repeat the same logic for each
  individual path create two macros which can be used throughout
  the module.
- Capitalise helpstrings to match the conventions used by the
  standard CMake properties
2016-12-12 22:22:44 +00:00
Robert Maynard
1371eec4c3 try_compile: extend CMP0067 to honor language standards for CUDA. 2016-12-12 14:39:32 -05:00
Martin Koegler
1d1f29f435 GetPrerequisites: Fix call to find_program for ri tool
`find_program` does not work with `${a};${b}` as a search path.
Use separate arguments to `PATHS`.
2016-12-12 14:27:21 -05:00
Brad King
3d3d3f9470 Merge topic 'cuda-fixups'
c1a55079 CUDA: Fix Cuda.Complex test case extern function signatures
7552d16d CUDA: Fix default compiler flag initialization
2016-12-12 14:21:33 -05:00
Brad King
7b47ce5a3a Merge topic 'document_cuda_standard_property'
45054119 Help: Document CUDA_STANDARD and related properties
2016-12-12 14:21:30 -05:00
Brad King
d1d11f73a1 Merge topic 'clang-tidy'
b932cd42 clang-tidy: apply misc-redundant-expression fixes
88da3d68 clang-tidy: apply misc-suspicious-string-compare fixes
58c66393 clang-tidy: apply readability-static-definition-in-anonymous-namespace fixes
85bfddda clang-tidy: apply readability-redundant-control-flow fixes
2988abd9 clang-tidy: apply modernize-use-bool-literals fixes
a74e6893 clang-tidy: apply readability-redundant-string-init fixes
cac529dd clang-tidy: apply performance-faster-string-find fixes
7c9db8f8 clang-tidy: apply performance-unnecessary-value-param fixes
2016-12-12 14:21:27 -05:00