Brad King
21a7809bfa
Merge topic 'doc-get_cmake_property'
...
15cc50fb
Help: Clarify get_cmake_property command documentation
2016-08-24 09:45:41 -04:00
Brad King
5c8b69b0f5
Merge topic 'FindCUDA-fix-arch-regex'
...
2dc9a754
FindCUDA: Support `2.1(2.0)` architecture notation
2016-08-24 09:45:39 -04:00
Brad King
1d858dc017
Merge topic 'test-extra-generator-dedup'
...
9bd0643a
Tests: Refactor testing of extra generators.
2016-08-24 09:45:36 -04:00
Brad King
2986ca5ecc
Merge topic 'version-cleanups'
...
aec06dd4
Version: Always define CMake_VERSION_IS_DIRTY to 0 or 1
ef13efab
Version: Remove check for existence of CVS repository
2016-08-24 09:45:33 -04:00
Brad King
a71ca1f0b3
Merge topic 'import-vim-syntax'
...
b4556b47
Help: Add release notes for 'vim-cmake-syntax' import
25c01cf0
Aux: Install vim-cmake-syntax files with CMake
e3ac68cf
Merge branch 'upstream-vim-cmake-syntax' into import-vim-syntax
4a22c06e
vim-cmake-syntax 2016-08-16 (e782679c)
f21a8235
Aux: Drop vim files prior to import of third-party version
0966f1c5
Add script to update vim-cmake-syntax from upstream
2016-08-24 09:45:29 -04:00
Silvio Traversaro
828d6c137d
find_package: Extend search path for combined Windows/UNIX convention
...
Find packages that install their cmake package configuration files in
`lib/cmake/<name>` when they are installed in the default Windows
CMAKE_INSTALL_PREFIX, `C:/Program Files/<name>`.
Closes : #16212
2016-08-24 09:40:25 -04:00
Kitware Robot
00a583ac68
CMake Nightly Date Stamp
2016-08-24 00:01:04 -04:00
Daniel Pfeifer
5cbb548807
fix a batch of include-what-you-use violations
2016-08-24 00:29:15 +02:00
Silvio Traversaro
ff5c89de0c
Help: Widen find_package search path table
...
Make room for additional longer entries.
2016-08-23 13:28:42 -04:00
Brad King
7b637ebdc9
Android: Add `ANDROID` variable to indicate the target
...
Allow projects to use `if(ANDROID)` to condition their Android-specific
code paths.
2016-08-23 13:10:51 -04:00
Brad King
c2f561e58c
Android: Add test cases covering use of the NDK and standalone toolchains
2016-08-23 12:53:10 -04:00
Brad King
6b84df8da9
Help: Document cross compiling for Android
...
CMake now supports cross compiling for Android using the NDK or a
standalone toolchain. Document the associated variables and how how to
write toolchain files for Android.
2016-08-23 12:53:10 -04:00
Brad King
d7d4083025
Android: Select the STL type for NDK builds
...
Populate standard include directories and link libraries for the
platform. Select the STL corresponding to CMAKE_ANDROID_STL_TYPE and
matching the current ABI and toolchain to be used. Refer to the NDK
sources/cxx-stl/*/Android.mk files for the needed file locations.
2016-08-23 12:53:10 -04:00
Brad King
b22294bc41
Android: Populate compiler flags for current ABI
...
Initialize the CMAKE_{C,CXX}_FLAGS{,_<CONFIG>} cache entries with
flags for each ABI as specified by NDK toolchain `setup.mk` files.
2016-08-23 12:51:58 -04:00
Brad King
15cc50fbb5
Help: Clarify get_cmake_property command documentation
...
Closes : #13810 , #16258
2016-08-23 11:14:09 -04:00
Boris Fomitchev
2dc9a754b5
FindCUDA: Support `2.1(2.0)` architecture notation
...
Also tweak some messages and comments.
2016-08-23 10:47:27 -04:00
Chaoren Lin
9bd0643a77
Tests: Refactor testing of extra generators.
...
Use a loop instead of repeating the same thing multiple times.
2016-08-23 10:37:38 -04:00
Brad King
aec06dd492
Version: Always define CMake_VERSION_IS_DIRTY to 0 or 1
...
In cmVersionConfig.h we must define this macro with a value because
clients expect it to have one. Also ensure that all CMakeLists.txt
code paths have an initialized value.
Reported-by: Stephen Kelly <steveire@gmail.com>
2016-08-23 09:11:57 -04:00
Stephen Kelly
ef13efab56
Version: Remove check for existence of CVS repository
2016-08-23 09:11:57 -04:00
Brad King
797f7ad87d
Merge topic 'else-after-return'
...
7b6349da
CMake: don't use else after return
50ad1e0a
CTest: don't use else after return
7f97a6c9
CPack: don't use else after return
4988b914
CursesDialog: don't use else after return
2016-08-23 09:00:00 -04:00
Brad King
762131fe8d
Merge topic 'include-what-you-use'
...
f29d1847
fix a batch of include-what-you-use violations
373b2e48
cmArchiveWrite: replace mode_t with int
2016-08-23 08:59:57 -04:00
Brad King
d15a502f8e
Merge topic 'minor-cleanups'
...
27591a54
Define WIN32_LEAN_AND_MEAN for CMake sources on Windows
481c9003
libarchive: Fix include order in xxhash.c
2016-08-23 08:59:54 -04:00
Daniel Pfeifer
f29d184773
fix a batch of include-what-you-use violations
2016-08-23 08:56:59 -04:00
Kitware Robot
68b51a57e5
CMake Nightly Date Stamp
2016-08-23 00:01:05 -04:00
Kitware Robot
74ee03a262
CMake Nightly Date Stamp
2016-08-22 00:01:03 -04:00
Kitware Robot
020c3e409d
CMake Nightly Date Stamp
2016-08-21 00:01:04 -04:00
Kitware Robot
8142698e7a
CMake Nightly Date Stamp
2016-08-20 00:01:03 -04:00
Kitware Robot
03d0e6b9bb
CMake Nightly Date Stamp
2016-08-19 00:01:05 -04:00
Daniel Pfeifer
7b6349da4d
CMake: don't use else after return
2016-08-18 20:36:29 +02:00
Daniel Pfeifer
50ad1e0a14
CTest: don't use else after return
2016-08-18 20:04:21 +02:00
Daniel Pfeifer
7f97a6c94b
CPack: don't use else after return
2016-08-18 19:47:32 +02:00
Daniel Pfeifer
4988b914e1
CursesDialog: don't use else after return
2016-08-18 19:39:54 +02:00
Kitware Robot
11e0ceaeab
CMake Nightly Date Stamp
2016-08-18 00:01:04 -04:00
Daniel Pfeifer
373b2e483d
cmArchiveWrite: replace mode_t with int
...
Rationale:
* mode_t is not defined on all platforms
* bitmasking (operator &) promotes the value to an int anyway
* libarchive uses int in the public api starting with version 4
2016-08-17 23:52:34 +02:00
Brad King
27591a541c
Define WIN32_LEAN_AND_MEAN for CMake sources on Windows
...
This reduces APIs included by `windows.h`. We can include the headers
for those APIs as needed.
2016-08-17 10:48:28 -04:00
Brad King
481c9003fa
libarchive: Fix include order in xxhash.c
...
We need to include `archive_platform.h` before any system headers in
order to ensure that `_WIN32_WINNT` is defined early enough.
2016-08-17 10:48:28 -04:00
Brad King
67a7dcef45
Merge topic 'readability-named-parameter'
...
e7b842e1
Make sure unnused parameters are /*named*/
2016-08-17 10:46:35 -04:00
Brad King
29593b79a2
Merge topic 'include-what-you-use'
...
a2af850b
fix a batch of include-what-you-use violations
2016-08-17 10:46:32 -04:00
Brad King
c700d11d25
Merge topic 'FindCUDA-target-include-dirs'
...
7ded655f
FindCUDA: Take NVCC include directories from target properties
2016-08-17 10:46:29 -04:00
Brad King
5d1690725b
Merge topic 'cmake-capabilities'
...
49ad7f9a
cmake: Add `cmake -E capabilities` mode
1d408dc1
cmake: Constify cmake::GetRegisteredGenerators
2016-08-17 10:46:26 -04:00
Brad King
76ff725ae7
Merge topic 'cmake-developer-reference'
...
ea51b71a
QtIFW: Developer Reference installation
c18dc6fb
Added CMake_BUILD_DEVELOPER_REFERENCE option
2016-08-17 10:46:23 -04:00
Brad King
b4556b47a8
Help: Add release notes for 'vim-cmake-syntax' import
2016-08-17 09:24:29 -04:00
Brad King
25c01cf0b0
Aux: Install vim-cmake-syntax files with CMake
2016-08-17 09:11:47 -04:00
Brad King
e3ac68cfbf
Merge branch 'upstream-vim-cmake-syntax' into import-vim-syntax
...
* upstream-vim-cmake-syntax:
vim-cmake-syntax 2016-08-16 (e782679c)
2016-08-17 09:11:19 -04:00
vim-cmake-syntax upstream
4a22c06e7f
vim-cmake-syntax 2016-08-16 (e782679c)
...
Code extracted from:
https://github.com/pboettch/vim-cmake-syntax.git
at commit e782679cb93a4ccb419cffbc1c076db0d524d43e (master).
2016-08-17 09:11:18 -04:00
Brad King
f21a823598
Aux: Drop vim files prior to import of third-party version
2016-08-17 09:11:13 -04:00
Brad King
0966f1c548
Add script to update vim-cmake-syntax from upstream
2016-08-17 09:11:06 -04:00
Kitware Robot
65120d180b
CMake Nightly Date Stamp
2016-08-17 00:01:04 -04:00
Daniel Pfeifer
e7b842e189
Make sure unnused parameters are /*named*/
2016-08-17 01:49:57 +02:00
Daniel Pfeifer
a2af850ba6
fix a batch of include-what-you-use violations
2016-08-17 01:08:13 +02:00