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
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
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
Tobias Hunger
49ad7f9af8
cmake: Add `cmake -E capabilities` mode
...
Add `cmake -E capabilities` to report on generators, cmake version and
possibly other static capabilities of cmake.
Closes : #15462
2016-08-16 13:45:05 -04:00
Brad King
1d408dc10f
cmake: Constify cmake::GetRegisteredGenerators
2016-08-16 13:40:06 -04:00
Brad King
447b142b6a
Merge topic 'issue-tracker-urls'
...
2bdba83e
issues: update references to the CMake issue tracker
2016-08-16 13:26:15 -04:00
Konstantin Podsvirov
ea51b71a4f
QtIFW: Developer Reference installation
2016-08-16 19:02:35 +03:00
Konstantin Podsvirov
c18dc6fbe5
Added CMake_BUILD_DEVELOPER_REFERENCE option
...
By default is OFF and marked as advanced.
It's also add custom cmake-developer-reference (ALL) target
Generated output will be installed to ${CMAKE_DOC_DIR}/developer-reference.
2016-08-16 19:02:35 +03:00
Kitware Robot
6b07972fbd
CMake Nightly Date Stamp
2016-08-16 00:01:09 -04:00
Ben Boeckel
2bdba83e4b
issues: update references to the CMake issue tracker
...
References to specific comments are left as-is since comments were not
migrated.
2016-08-15 09:34:06 -04:00
Brad King
33d4aff50d
Merge topic 'autogen-same-name'
...
61a607e8
Help: Document AUTORCC behavior for same .qrc name case
e4f508e4
Tests/QtAutogen: Test same moc/qrc source names in different directories
4e9b97d7
QtAutogen: Allow multiple qrc files with the same name
41c9e14a
QtAutogen: Allow multiple moc files with the same name
3c3b37b0
QtAutogen: Use std:: instead of ::std::
0a5dd3c7
cmFilePathUuid: Add class to generate deterministic unique file names
2016-08-15 08:59:46 -04:00
Kitware Robot
272a2bf19d
CMake Nightly Date Stamp
2016-08-15 00:01:03 -04:00
Kitware Robot
5726af681a
CMake Nightly Date Stamp
2016-08-14 00:01:03 -04:00
Kitware Robot
77c171a37c
CMake Nightly Date Stamp
2016-08-13 00:01:04 -04:00
Kitware Robot
f99df80794
CMake Nightly Date Stamp
2016-08-12 00:01:04 -04:00
Brad King
f203694bb8
Merge topic 'cmCryptoHash-raw-digest'
...
3a5f609c
cmCryptoHash: New ByteHash methods that return a byte vector
f582dba6
cmCryptoHash: Return byte vector from internal Finalize method
74f0d4ab
cmCryptoHash: New byte hash to string function
94c29976
cmCryptoHash: Documentation comments
2016-08-11 13:48:37 -04:00
Kitware Robot
3c4d2e84d2
CMake Nightly Date Stamp
2016-08-11 00:01:04 -04:00
Sebastian Holtermann
4e9b97d739
QtAutogen: Allow multiple qrc files with the same name
...
Use cmFilePathUuid for qrc files.
2016-08-10 13:21:33 -04:00
Sebastian Holtermann
41c9e14afb
QtAutogen: Allow multiple moc files with the same name
...
Use cmFilePathUuid for moc files.
Closes : #12873
2016-08-10 13:21:33 -04:00
Sebastian Holtermann
3c3b37b0bb
QtAutogen: Use std:: instead of ::std::
2016-08-10 13:21:33 -04:00
Sebastian Holtermann
0a5dd3c700
cmFilePathUuid: Add class to generate deterministic unique file names
...
The class generates a semi-unique (checksum based) pathless file name
from a full source file path.
2016-08-10 13:21:33 -04:00
Sebastian Holtermann
3a5f609cbb
cmCryptoHash: New ByteHash methods that return a byte vector
2016-08-10 13:21:32 -04:00
Sebastian Holtermann
f582dba666
cmCryptoHash: Return byte vector from internal Finalize method
...
Some callers may want the raw byte vector instead of the hex character
string. Convert the internal implementation to use this so that we
can later add public APIs to get it.
2016-08-10 13:21:32 -04:00
Sebastian Holtermann
74f0d4abcd
cmCryptoHash: New byte hash to string function
2016-08-10 13:09:55 -04:00
Sebastian Holtermann
94c29976d0
cmCryptoHash: Documentation comments
2016-08-10 13:09:54 -04:00
Brad King
50ada755e3
Merge topic '15687-xcode-support-system-include'
...
93ac2a78
Xcode: Obey SYSTEM keyword for includes (#15687 )
2016-08-10 11:16:01 -04:00
Brad King
e01c576338
Merge topic 'ninja-directory-targets'
...
02789894
Ninja: Add `$subdir/{test,install,package}` targets
a88c99f1
Ninja: Simplify computation of GLOBAL_TARGET outputs
2016-08-10 11:15:55 -04:00
Brad King
f4cec30b53
Merge topic 'install-export-staging-dir'
...
c7a319ab
install(EXPORT): Fix support for mid-length install destinations on Windows
2016-08-10 11:15:50 -04:00
Brad King
4887640b7a
Merge topic 'add-extra-boolean-comparisons'
...
02d177c9
Add additional <= and >= comparison operators
2016-08-10 11:15:47 -04:00
Kitware Robot
5aabfec930
CMake Nightly Date Stamp
2016-08-10 00:01:04 -04:00
Brad King
0278989405
Ninja: Add `$subdir/{test,install,package}` targets
...
With the Makefile generator one can use `cd $subdir; make install` to build and
install targets associated with a given subdirectory. This is not possible to
do with the Ninja generator since there is only one `build.ninja` file at the
top of the build tree. However, we can approximate it by allowing one to run
`ninja $subdir/install` at the top of the tree to build the targets in the
corresponding subdirectory and install them.
This also makes sense for `test`, `package`, and other GLOBAL_TARGET targets.
It was already done for `all` by commit v3.6.0-rc1~240^2~2 (Ninja: Add
`$subdir/all` targets, 2016-03-11).
2016-08-09 15:15:24 -04:00
Brad King
a88c99f1bc
Ninja: Simplify computation of GLOBAL_TARGET outputs
...
In cmGlobalNinjaGenerator::AppendTargetOutputs we previously
handled GLOBAL_TARGET outputs specially in order to avoid adding
directory components to the output. However, this is not necessary
because cmNinjaTargetGenerator::New already filters out copies of
these targets that are not at the top level. Instead we can simply
follow the same output computation code path as UTILITY targets.
2016-08-09 14:36:04 -04:00
Gregor Jasny
93ac2a78d5
Xcode: Obey SYSTEM keyword for includes ( #15687 )
...
CMake used to put all header search paths into HEADER_SEARCH_PATHS
attribute. Unfortunately this attribute does not support to declare
a search path as a system include.
As a hack one could add a -isystem /path to the cflags but then include
ordering is not deterministic. A better approach was chosen with this
patch by not filling HEADER_SEARCH_PATHS at all and to populate
the C, C++, and Fortran flags directly. The include paths used by
Xcode should be now identical to the ones used by Unix Makefiles and
Ninja generator.
2016-08-09 20:30:07 +02:00
Brad King
c7a319ab05
install(EXPORT): Fix support for mid-length install destinations on Windows
...
The implementation of `install(EXPORT)` generates files into a staging
directory for later installation. We use the full install destination
in the path to the staging directory to avoid collisions. In order to
avoid exceeding maximum path lengths (especially on Windows) we compute
a hash of the install destination when it is too long. Fix this logic
to account for the length of the file name(s) when deciding whether to
switch to the hashed name.
Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
2016-08-09 10:09:52 -04:00
Chuck Atkins
02d177c9cc
Add additional <= and >= comparison operators
...
This adds the LESS_EQUAL, GREATER_EQUAL, and associated STR and VERSION
equivalents to use the combined <= and >= functionality.
2016-08-09 09:30:34 -04:00
Brad King
a8c819659b
Merge topic 'ninja-full-path'
...
955c2a63
Ninja: Use full path for all source files
2016-08-09 09:20:15 -04:00
Brad King
892ffe4ebd
Merge topic 'wix-custom-install-dir'
...
17bbf6af
CPackWIX: Implement new CPACK_WIX_SKIP_PROGRAM_FOLDER feature
2016-08-09 09:20:13 -04:00
Kitware Robot
982b4cd602
CMake Nightly Date Stamp
2016-08-09 00:01:04 -04:00
Chaoren Lin
955c2a630a
Ninja: Use full path for all source files
...
This is consistent with the behavior of the Makefile generators.
Relative paths are difficult for an IDE to parse the output of a build
error.
2016-08-08 13:55:29 -04:00
Brad King
702a548992
Merge topic 'vs14-debug-enum-older-toolsets'
...
038e3a4f
cmVisualStudio10TargetGenerator: Run clang-format
2016-08-08 10:02:03 -04:00
Michael Stürmer
17bbf6af1e
CPackWIX: Implement new CPACK_WIX_SKIP_PROGRAM_FOLDER feature
...
The new variable allows setting of a custom absolute installation prefix
outside of the ProgramFiles folders.
2016-08-08 13:42:23 +02:00
Kitware Robot
5a62e0c172
CMake Nightly Date Stamp
2016-08-08 00:01:04 -04:00
Kitware Robot
5a8b67b3de
CMake Nightly Date Stamp
2016-08-07 00:01:03 -04:00
Kitware Robot
6da5fb8379
CMake Nightly Date Stamp
2016-08-06 00:01:04 -04:00
Brad King
038e3a4f71
cmVisualStudio10TargetGenerator: Run clang-format
2016-08-05 15:20:20 -04:00
Brad King
93b705a396
Merge topic 'ninja-clang-rsp-format'
...
e555480c
Ninja: Fix response file format for GNU-like Clang on Windows
2016-08-05 08:50:29 -04:00
Brad King
baa6032169
Merge topic 'update-kwsys'
...
8abca140
Merge branch 'upstream-KWSys' into update-kwsys
6c0820a8
KWSys 2016-08-03 (6d23dd7e)
2016-08-05 08:50:25 -04:00
Brad King
b06118f8f1
Merge topic 'vs14-debug-enum-older-toolsets'
...
4ada475e
VS: Fix VS 2015 .vcxproj debug setting for Windows7.1SDK toolset
2016-08-05 08:50:20 -04:00
Kitware Robot
9bc62024ac
CMake Nightly Date Stamp
2016-08-05 00:01:09 -04:00
Brad King
4ada475ef5
VS: Fix VS 2015 .vcxproj debug setting for Windows7.1SDK toolset
...
Closes : #16213
2016-08-04 11:40:09 -04:00
Brad King
8abca14034
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2016-08-03 (6d23dd7e)
2016-08-04 10:11:07 -04:00
Brad King
2df3719d2c
Merge topic 'extra-generator-factories'
...
cd52a225
Report more information about extra generators in generator factories
a354f60c
Refactor extra generator registration to use factories
2016-08-04 09:56:47 -04:00
Brad King
ac7c12eced
Merge topic 'update-kwsys'
...
b602cb85
Merge branch 'upstream-KWSys' into update-kwsys
3e6ec47c
KWSys 2016-08-02 (3f55579d)
2016-08-04 09:56:44 -04:00
Brad King
e555480c60
Ninja: Fix response file format for GNU-like Clang on Windows
...
The `CMAKE_<LANG>_SIMULATE_ID` variables are not set to "GNU" for a
GNU-like Clang compiler on Windows. They are only set to "MSVC" for a
MSVC-like Clang. Revise our response file format selection accordingly.
Reported-by: Chaoren Lin <chaorenl@google.com>
2016-08-04 09:44:56 -04:00
Kitware Robot
2c0e87fff3
CMake Nightly Date Stamp
2016-08-04 00:01:06 -04:00
Brad King
b602cb85c9
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2016-08-02 (3f55579d)
2016-08-03 10:10:28 -04:00
Tobias Hunger
cd52a225d2
Report more information about extra generators in generator factories
2016-08-03 09:44:40 -04:00
Tobias Hunger
a354f60ce0
Refactor extra generator registration to use factories
...
This will allow additional information about the availability
and capabilities of extra generators to be queried without
actually creating them.
Instead of a static NewFactory() method like the main generator
factories have, use a static GetFactory() method to get a pointer to a
statically allocated extra generator factory. This simplifies memory
management.
2016-08-03 09:43:00 -04:00
Brad King
382c4fca6b
Merge topic 'ccmake-vim-navigation'
...
e34e9c27
ccmake: Add VIM-like bindings for navigation
9a1b6c60
ccmake: Revise documentation for [d]
31b6cf41
ccmake: Fix typo in help (it's -> its)
2016-08-03 09:20:59 -04:00
Brad King
ec807f6edf
Merge topic 'port-to-sco'
...
56539d89
SCO_SV: Enable so filename versioning
16a3a735
cmELF: Port to SCO OpenServer 5.0.7/3.2
2016-08-03 09:20:47 -04:00
Brad King
f8792c12b9
Merge topic 'update-kwsys'
...
35995fa6
Merge branch 'upstream-KWSys' into update-kwsys
6bc3073e
KWSys 2016-08-01 (560bcdbb)
2016-08-03 09:20:41 -04:00
Brad King
7b65e49529
Merge topic 'wix-root-description'
...
e29bfbf2
CPackWIX: Support custom title and description for the root feature
2016-08-03 09:20:38 -04:00
Kitware Robot
33fe4751e8
CMake Nightly Date Stamp
2016-08-03 00:01:04 -04:00
Paul Seyfert
e34e9c2705
ccmake: Add VIM-like bindings for navigation
...
* scroll with j/k
* toggle bool with space, enter insert mode with i
* bindings not shown at the bottom of the screen, but given in help
2016-08-02 14:53:15 -04:00
Paul Seyfert
9a1b6c6037
ccmake: Revise documentation for [d]
...
* list it at the bottom of the screen
* different place in help message
2016-08-02 14:53:15 -04:00
Paul Seyfert
31b6cf41c5
ccmake: Fix typo in help (it's -> its)
2016-08-02 14:53:06 -04:00
Patrick Welche
16a3a73508
cmELF: Port to SCO OpenServer 5.0.7/3.2
...
Take changes used by pkgsrc [1]:
* SCO OpenServer 5.0.7/3.2 does not support 64-bit ELF.
[1] http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/patches/
2016-08-02 10:04:31 -04:00
Brad King
35995fa6b5
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2016-08-01 (560bcdbb)
2016-08-02 09:21:52 -04:00
Michael Stürmer
e29bfbf272
CPackWIX: Support custom title and description for the root feature
...
These can now be specified through the WIX generator specific
CPack variables CPACK_WIX_ROOT_FEATURE_TITLE and
CPACK_WIX_ROOT_FEATURE_DESCRIPTION.
2016-08-02 14:05:08 +02:00
Kitware Robot
55d9bfa9dd
CMake Nightly Date Stamp
2016-08-02 00:01:04 -04:00
Brad King
5ec03c93fc
Merge topic 'wix-disabled-components'
...
ad453f05
CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
6f108f84
CPackComponent: Document the *_HIDDEN and *_DISABLED variables
2016-08-01 14:59:53 -04:00
Brad King
bfac78d074
Merge topic 'more-virtual-override'
...
624b7215
Source/CPack: Add CM_OVERRIDE on MacOS cmCPackGenerator overrides
2016-08-01 14:59:47 -04:00
Brad King
2711c35a8d
Merge topic 'app-framework-bundle-extension'
...
f951d0ad
Add tests for BUNDLE_EXTENSION
c63380b1
Update documentation about bundle extensions
134d5c1f
Honor BUNDLE_EXTENSION also for Frameworks (#14742 )
2b909c08
Honor BUNDLE_EXTENSION also for App Bundles (#16148 )
2016-08-01 14:59:44 -04:00
Brad King
8427b8e11c
Merge topic 'aliased-target-properties'
...
ea647533
Do not report ALIASED_TARGET as always set (#15783 )
2016-08-01 14:59:41 -04:00
Kitware Robot
8b9cd61337
CMake Nightly Date Stamp
2016-08-01 00:01:03 -04:00
Kitware Robot
963c4e4b90
CMake Nightly Date Stamp
2016-07-31 00:01:03 -04:00
Kitware Robot
99f5a32c7a
CMake Nightly Date Stamp
2016-07-30 00:01:02 -04:00
Kitware Robot
db713223a8
CMake Nightly Date Stamp
2016-07-29 00:01:03 -04:00
Kitware Robot
09a86b392e
CMake Nightly Date Stamp
2016-07-28 00:01:04 -04:00
Kitware Robot
73c618be70
CMake Nightly Date Stamp
2016-07-27 00:01:03 -04:00
Kitware Robot
8f884f2146
CMake Nightly Date Stamp
2016-07-26 00:01:02 -04:00
Kitware Robot
3d57541d6d
CMake Nightly Date Stamp
2016-07-25 00:01:07 -04:00
Kitware Robot
ffc7c24b2e
CMake Nightly Date Stamp
2016-07-24 00:01:03 -04:00
Kitware Robot
d615d20a63
CMake Nightly Date Stamp
2016-07-23 00:01:04 -04:00
Brad King
624b72159b
Source/CPack: Add CM_OVERRIDE on MacOS cmCPackGenerator overrides
2016-07-22 10:42:37 -04:00
Brad King
f59513140b
CMake 3.6.1
2016-07-22 09:26:11 -04:00
Brad King
1fc340f0d4
Merge topic 'windows-export-all-fix-objlib'
...
13a6ff31
VS: Fix WINDOWS_EXPORT_ALL_SYMBOLS for object libraries
2016-07-22 09:17:48 -04:00
Brad King
4c61e40cc5
Merge topic 'vs-default-v100'
...
059c230d
VS: Explicitly default to v100 toolset in Visual Studio 2010
2016-07-22 09:17:36 -04:00
Brad King
19ccd35473
Merge topic 'revert-autogen-subdirs'
...
5e55d87b
Autogen: Revert changes to generate moc/rcc in subdirectories
2016-07-22 09:17:28 -04:00
Michael Stürmer
ad453f0502
CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
...
Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
2016-07-22 08:49:29 +02:00
Gregor Jasny
134d5c1f7c
Honor BUNDLE_EXTENSION also for Frameworks ( #14742 )
2016-07-21 23:16:50 -07:00
Gregor Jasny
2b909c08f5
Honor BUNDLE_EXTENSION also for App Bundles ( #16148 )
2016-07-21 23:16:50 -07:00
Kitware Robot
7bfbcc75a3
CMake Nightly Date Stamp
2016-07-22 00:01:03 -04:00
Brad King
dbc0ec1648
Merge topic 'makefile-response-files'
...
c7a7c655
Makefile: Avoid link line object list lengths nearing system limits
34ba5c53
Makefile: Factor out response file checks into common helper
2016-07-21 11:27:31 -04:00
Benjamin Ballet
059c230d89
VS: Explicitly default to v100 toolset in Visual Studio 2010
...
Otherwise `CMAKE_VS_PLATFORM_TOOLSET` is not set even though the `v100`
toolset is chosen.
2016-07-21 11:13:16 -04:00
Brad King
13a6ff31be
VS: Fix WINDOWS_EXPORT_ALL_SYMBOLS for object libraries
...
Teach Visual Studio generators to include object files from object
libraries in the list of objects whose symbols are to be exported.
The Makefile and Ninja generators already did this. Update the
test to cover this case.
Reported-by: Bertrand Bellenot <Bertrand.Bellenot@cern.ch>
2016-07-21 11:05:22 -04:00
Brad King
850764fc70
Merge topic 'vs-alternate-RootNamespace'
...
8aa97fba
VS: Handle VS_GLOBAL_RootNamespace special case
2016-07-21 10:39:10 -04:00