Commit Graph

23711 Commits

Author SHA1 Message Date
Brad King
05d8892e61 Merge topic 'cmake-default-dir-install-permissions'
7e896029 CPack: enable setting default dir creation permissions
a4c82916 CPack test: expand output checking fallback
670ad047 Move file/dir permissions code to common file.
deeba85f CMake: enable setting default dir creation permissions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1433
2017-11-09 08:28:28 -05:00
Kitware Robot
1e9304bccb CMake Nightly Date Stamp 2017-11-09 00:01:25 -05:00
Domen Vrankar
7e896029cd CPack: enable setting default dir creation permissions
Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS
variable which adds support for functionality introduced
by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable.

Fixes #17333

# Conflicts:
#	Help/release/dev/cmake-default-dir-install-permissions.rst
2017-11-08 20:27:11 +01:00
Domen Vrankar
670ad047b3 Move file/dir permissions code to common file. 2017-11-08 20:27:11 +01:00
Domen Vrankar
deeba85f81 CMake: enable setting default dir creation permissions
Introduces CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS
variable which enables the user to specify the default
permissions for directory creation. This setting is then
used to auto set the permissions on directories which
are implicitly created by install() and file(INSTALL)
commands such as CMAKE_INSTALL_PREFIX directories.
2017-11-08 20:27:03 +01:00
Brad King
30fcf13be6 Merge topic 'imported-promotion'
6a3922be Add new target-property `IMPORTED_GLOBAL`.
854e482a cmTarget: Simplified and fixed a string-comparision.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1254
2017-11-08 09:08:15 -05:00
Brad King
9f30cd13da Merge topic 'update-kwsys'
517cfe0b Merge branch 'upstream-KWSys' into update-kwsys
dc059ae7 KWSys 2017-11-07 (5249a82d)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1458
2017-11-08 09:05:59 -05:00
Kitware Robot
2ae78569b4 CMake Nightly Date Stamp 2017-11-08 00:03:44 -05:00
Deniz Bahadir
6a3922bebe Add new target-property IMPORTED_GLOBAL.
The purpose of this new `IMPORTED_GLOBAL` target-property is to prolong
the lifetime and scope of `IMPORTED` targets in such a way as if they
had been created with the keyword `GLOBAL` in the first place.

* It can only be set to `TRUE`. That means, a local `IMPORTED` target
  can be promoted to global scope but a global `IMPORTED` target cannot
  be degraded to local scope!
* Setting it to `TRUE` only succeeds if done from within the same
  directory in which the `IMPORTED` target was created in the first
  place.

Fixes #17256.
2017-11-07 15:08:41 +01:00
Brad King
1348f97784 Merge topic 'server-test-info'
35a52bd1 server: add "ctestInfo" request to get test info

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1414
2017-11-07 08:18:59 -05:00
Brad King
517cfe0b8c Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2017-11-07 (5249a82d)
2017-11-07 08:16:14 -05:00
Kitware Robot
c37c4771cb CMake Nightly Date Stamp 2017-11-07 00:01:14 -05:00
Brad King
b104bcfd98 Merge topic 'typos'
777e87ae Fix trivial typos in text

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1442
2017-11-06 09:02:23 -05:00
Brad King
73db89c2c2 Merge topic 'server-refactor'
39c2feaf misc: Added utility method to allow working with stacks
f5d2988e server: Swapped to cm_thread impl
2636d86c utility: Added minimal std::thread drop-in
d46b4ba8 server: Updated server tests to try various communication channels
08dca583 Tests: reworked server tests to allow other operation modes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1230
2017-11-06 08:58:11 -05:00
Brad King
2dabcebf3c Merge topic 'update-kwsys'
30487770 Merge branch 'upstream-KWSys' into update-kwsys
5464e23f KWSys 2017-11-02 (54f0901a)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1440
2017-11-06 08:55:35 -05:00
Kitware Robot
3d6e45af61 CMake Nightly Date Stamp 2017-11-06 00:01:06 -05:00
Kitware Robot
c2e130e8f4 CMake Nightly Date Stamp 2017-11-05 00:01:06 -04:00
Kitware Robot
277994eb43 CMake Nightly Date Stamp 2017-11-04 00:01:12 -04:00
Justin Goshi
35a52bd1b4 server: add "ctestInfo" request to get test info 2017-11-03 09:39:01 -07:00
Deniz Bahadir
854e482a59 cmTarget: Simplified and fixed a string-comparision.
Before this change, `cmTarget::CheckProperty` accepted several strings
as valid properties, including all strings prefixed with
"INTERFACE_LINK_LIBRARIES". Now, that particular string is still
accepted but other strings prefixed with that string are no longer
accepted.
2017-11-03 17:22:12 +01:00
luzpaz
777e87ae00 Fix trivial typos in text
Some are user facing.

Found using

    codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`

whereby the whitelist contained:

    ans
    dum
    helpfull
    emmited
    emmitted
    buil
    iff
    isnt
    nto
    ot
    pathes
    substract
    te
    todays
    upto
    whitespaces
2017-11-03 10:25:05 -04:00
Kitware Robot
d802f357d7 CMake Nightly Date Stamp 2017-11-03 00:01:12 -04:00
Brad King
3048777006 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2017-11-02 (54f0901a)
2017-11-02 09:48:53 -04:00
Brad King
817331aae8 Merge topic 'deprecate-policy-old'
a0ec14d3 Add deprecation warnings for policies CMP0054 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !1438
2017-11-02 09:44:41 -04:00
Brad King
193e40daa5 Merge topic 'update-kwsys'
7576e9f8 Merge branch 'upstream-KWSys' into update-kwsys
7d3f33e6 KWSys 2017-11-01 (6ffca34c)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1436
2017-11-02 09:43:48 -04:00
Kitware Robot
d455a04c53 CMake Nightly Date Stamp 2017-11-02 00:01:06 -04:00
Justin Berger
39c2feaf8c misc: Added utility method to allow working with stacks 2017-11-01 11:32:11 -06:00
Justin Berger
f5d2988ea7 server: Swapped to cm_thread impl 2017-11-01 11:32:11 -06:00
Justin Berger
2636d86ce2 utility: Added minimal std::thread drop-in 2017-11-01 11:32:11 -06:00
Brad King
a0ec14d363 Add deprecation warnings for policies CMP0054 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for some policies
to encourage projects to port away from setting policies to OLD.
2017-11-01 11:46:53 -04:00
Brad King
7576e9f8a3 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2017-11-01 (6ffca34c)
2017-11-01 08:38:26 -04:00
Brad King
77e758a3ed Merge topic 'autogen-moc-predefs-no-moc-options'
4e46f97c Merge branch 'backport-3.9' into autogen-moc-predefs-no-moc-options
978c98b7 Autogen: Don't add AUTOMOC_MOC_OPTIONS to moc-predefs command
d3caf941 Autogen: Tests: Set AUTOMOC_MOC_OPTIONS in a simple test
96d20a4d Autogen: Don't use AUTOMOC_MOC_OPTIONS in moc-predefs command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: EoD <eod@xmw.de>
Merge-request: !1432
2017-11-01 08:05:47 -04:00
Brad King
cdc9c110a5 Merge topic '16780-write-single-xcodeproj'
e4e9ce7c Xcode: Add option to generate only topmost project file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1395
2017-11-01 08:02:15 -04:00
Brad King
4857aec5d5 Merge topic 'notes_timestamp'
0987a399 CTest: fix Time formatting in Notes.xml

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1428
2017-11-01 08:01:44 -04:00
Brad King
ac1d190291 Merge topic 'windows-embed-cmake-version'
5b9da05b Windows: Embed version information into CMake binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1412
2017-11-01 08:00:45 -04:00
Kitware Robot
a0d00a1710 CMake Nightly Date Stamp 2017-11-01 00:01:05 -04:00
Gregor Jasny
e4e9ce7cbe Xcode: Add option to generate only topmost project file
Closes #16780
2017-10-31 17:09:26 +01:00
Justin Goshi
5b9da05b7a Windows: Embed version information into CMake binaries 2017-10-31 10:02:25 -04:00
Zack Galbreath
0987a399ec CTest: fix Time formatting in Notes.xml
Notes.xml was reporting its timestamp in E-notation.  Here's an example of
what this looked like:
  <Time>1.50938e+09</Time>

This format is unsuitable for precisely determining when the Notes file
was generated.  As a result of this commit, the same field now appears as:
  <Time>1509383044</Time>
2017-10-31 10:00:38 -04:00
Sebastian Holtermann
96d20a4de3 Autogen: Don't use AUTOMOC_MOC_OPTIONS in moc-predefs command
Closes #17418
2017-10-31 14:20:24 +01:00
Brad King
9ba15bfceb Merge topic 'autogen-change-rcc-config-suffix'
bda0875a Autogen: Make rcc output file suffix static (instead of pseudo-random)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Taylor Braun-Jones <taylor@braun-jones.org>
Merge-request: !1425
2017-10-31 08:54:26 -04:00
Brad King
6341596e29 Merge topic 'cmp0037-conditional-targets'
ae5f4069 CMP0037: Allow test and package targets when features are not enabled
409527a0 CMP0037: De-duplicate check and message generation
a2611d81 Tests: Add RunCMake.CMP0037 case for WARN on reserved targets
103501c4 Tests: Do not enable languages in all cases of RunCMake.CMP0037
2d0b3e6e cmGlobalGenerator: Refactor test and package target conditions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !1417
2017-10-31 08:19:27 -04:00
Brad King
8c6fa52515 Merge topic '15468-xcode-hide-zero-check-source-group'
89add9b3 Xcode: Do not create ZERO_CHECK source group

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1429
2017-10-31 08:13:52 -04:00
Brad King
9c2e8cf8a2 Merge topic 'vs-hlsl-opt-dbg'
025221df VS: Add source file property to set hlsl debug and optimization flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1420
2017-10-31 08:11:49 -04:00
Brad King
31336538b8 Merge topic 'minifixes'
6a4a61d9 cmForEachCommand: prevent leakage
52680d80 cm_codecvt: cleanup superfluous semicolons

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1402
2017-10-31 08:11:13 -04:00
Kitware Robot
fd2e6212a6 CMake Nightly Date Stamp 2017-10-31 00:01:05 -04:00
Gregor Jasny
89add9b3e6 Xcode: Do not create ZERO_CHECK source group
Closes #15468
2017-10-30 18:39:40 +01:00
Sebastian Holtermann
bda0875ac3 Autogen: Make rcc output file suffix static (instead of pseudo-random) 2017-10-30 16:30:46 +01:00
Brad King
ae5f40696e CMP0037: Allow test and package targets when features are not enabled
When CMake will not generate a test, package, or package_source target,
allow projects to create their own targets with these names.

Fixes: #16062
2017-10-30 10:21:31 -04:00
Brad King
409527a03c CMP0037: De-duplicate check and message generation 2017-10-30 10:21:21 -04:00