Brad King
151763c9b2
Merge topic 'curl-target'
...
ee06f3c339 FindCURL: Revise documentation markup
83c0cb3f03 FindCURL: provide imported target CURL::CURL
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1822
2018-03-08 09:56:40 -05:00
Brad King
f0b412dd82
Merge topic 'avoid-LIB_DEPENDS'
...
7723e9a058 Do not produce legacy _LIB_DEPENDS cache entries
2124a1364a cmTarget: Remove unnecessary RecordDependencies member
1c5bfab532 cmTarget: Simplify ClearDependencyInformation implementation
910a9d608e cmTarget: Simplify ClearDependencyInformation signature
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com >
Merge-request: !1828
2018-03-08 09:55:09 -05:00
Brad King
7723e9a058
Do not produce legacy _LIB_DEPENDS cache entries
...
Introduce policy `CMP0073` to avoid producing these cache entries.
Fixes : #16364
2018-03-07 07:48:40 -05:00
Rolf Eike Beer
83c0cb3f03
FindCURL: provide imported target CURL::CURL
2018-03-06 22:53:35 +01:00
Brad King
6be53c6695
CTest: Add options to control test process affinity to CPUs
...
In commit v2.8.0~170 (ENH: Added ctest test options PROCESSORS and
RUN_SERIAL, 2009-09-07) CTest learned to track the number of processors
allocated to running tests in order to balance it against the desired
level of parallelism. Extend this idea by introducing a new
`PROCESSOR_AFFINITY` test property to ask that CTest run a test
with the CPU affinity mask set. This will allow a set of tests
that are running concurrently to use disjoint CPU resources.
2018-03-05 09:21:32 -05:00
Brad King
bafe655b11
Help: Document linking behavior of OBJECT libraries
...
Inspired-by: Deniz Bahadir <dbahadir@benocs.com >
Issue: #14778
2018-03-01 09:27:50 -05:00
Shane Parris
b6ef4bc329
Document and extend the CMAKE_SUPPRESS_REGENERATION variable
...
Fixes: https://gitlab.kitware.com/cmake/cmake/issues/16815
2018-02-23 11:20:15 -05:00
Brad King
846a4dd118
Merge topic 'string-join'
...
689eeb67 string: Add JOIN subcommand
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com >
Merge-request: !1762
2018-02-20 11:47:51 -05:00
Alex Turbov
689eeb67cb
string: Add JOIN subcommand
...
This is just like CONCAT but accepts a glue string to put between
each value. `JOIN ""` is equivalent to `CONCAT`.
2018-02-16 10:04:47 -05:00
Brad King
524696ec10
Merge topic 'file_cmd_touch'
...
e78e24f6 Replaces execute_process calls to touch files with file(TOUCH) calls
602988e1 Adds file(TOUCH) and file(TOUCH_NOCREATE) sub-commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1705
2018-02-16 09:39:47 -05:00
Brad King
d97c9ffb6c
Merge topic 'genex-IN_LIST-operator'
...
5089f560 Genex: Add IN_LIST logical operator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1724
2018-02-16 09:22:56 -05:00
Shane Parris
602988e1e5
Adds file(TOUCH) and file(TOUCH_NOCREATE) sub-commands
2018-02-15 10:54:18 -05:00
Brad King
a2ec98b7d9
Merge topic 'enhanced-UseSWIG-Module'
...
0bef9eb4 UseSWIG: modernize module
d6048bd1 UseSWIG: Re-work test framework
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1707
2018-02-15 08:50:29 -05:00
Marc Chevrier
0bef9eb410
UseSWIG: modernize module
2018-02-14 08:35:04 +01:00
Marc Chevrier
b513a879ec
Tests management: add TESTS directory property
...
Implements: #17680
2018-02-08 19:16:28 +01:00
Marc Chevrier
5089f560e7
Genex: Add IN_LIST logical operator
...
Implements #17679
2018-02-07 10:57:18 +01:00
Brad King
f211193afe
Begin post-3.11 development
2018-02-05 11:40:43 -05:00
Brad King
e29df9924a
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2018-02-05 11:15:14 -05:00
Brad King
acbbccf704
Help: Organize and revise 3.11 release notes
...
Add section headers similar to the 3.10 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2018-02-05 10:56:36 -05:00
Brad King
22ac06edb8
Help: Consolidate 3.11 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.11.rst`.
2018-02-05 09:32:26 -05:00
Kyle Edwards
13347740e2
Help: add release notes, documentation for CTEST_RUN_CURRENT_SCRIPT behavior
2018-01-26 09:28:33 -05:00
Brad King
aaf3c5b32c
Merge topic 'RemoveKDevelop3'
...
551bd0b3 Generators: adjust error message for the removed KDevelop3 generator
9198e6a2 Generators: remove KDevelop3 generator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1688
2018-01-25 08:34:53 -05:00
Brad King
76f5a87cf1
Merge topic 'sourceFile-new-properties'
...
04483111 sourceFile properties: add property INCLUDE_DIRECTORIES
3073bd1f VisualStudio generators: refactoring
78b1c2e0 sourceFile properties: add property COMPILE_OPTIONS
3f935e69 LocalGenerator: refactoring
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1596
2018-01-25 08:33:35 -05:00
Marc Chevrier
0448311179
sourceFile properties: add property INCLUDE_DIRECTORIES
2018-01-24 15:10:10 +01:00
Brad King
05e9cdb81e
Merge topic 'GenerateExportHeader-include-guard'
...
b1ae9aaf GenerateExportHeader: add release notes, tests for include guard changes
f4082b0e GenerateExportHeader: add INCLUDE_GUARD_NAME option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1643
2018-01-24 08:53:05 -05:00
Brad King
1a9da3c055
Merge topic 'cpack_trace'
...
93bc5848 CPack: accept --trace and --trace-expand
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1583
2018-01-24 08:52:03 -05:00
Brad King
56fd8b3c72
Merge topic 'UseJava-native-headers-generation'
...
4829ea23 add_jar: add option GENERATE_NATIVE_HEADERS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1675
2018-01-24 08:51:32 -05:00
Alex Neundorf
9198e6a27b
Generators: remove KDevelop3 generator
...
The last KDevelop3 release was many years ago, in 2008 I think.
I haven't seen or read about anybody using KDevelop 3 since a
long time, so I think it can safely be removed from CMake.
KDevelop 4 (first released in 2010) has its own proper CMake
support now, independent from this generator.
Alex
2018-01-24 08:30:02 -05:00
Isaiah Norton
93bc5848e7
CPack: accept --trace and --trace-expand
2018-01-23 13:15:53 -05:00
Kyle Edwards
b1ae9aaf79
GenerateExportHeader: add release notes, tests for include guard changes
2018-01-23 10:43:40 -05:00
Marc Chevrier
78b1c2e09e
sourceFile properties: add property COMPILE_OPTIONS
...
Add the support of per-source property COMPILE_OPTIONS,
including generator expressions support.
Related: #17507
2018-01-23 10:24:56 +01:00
Marc Chevrier
4829ea239a
add_jar: add option GENERATE_NATIVE_HEADERS
2018-01-22 17:15:59 +01:00
Brad King
e68a269cd2
Merge topic 'cache-truncate-newlines'
...
c42b377c cmCacheManager: Test and document newline truncation behavior
a9c48307 cmCacheManager: Truncate values containing newlines
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1652
2018-01-19 10:08:06 -05:00
Sebastian Holtermann
79908ae4ae
Autogen: Add release notes for (CMAKE_)AUTOGEN_PARALLEL
2018-01-17 17:23:49 +01:00
Brad King
b4dfe1d816
Merge topic 'extend-compile-language-genex'
...
506fda1c Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and Xcode
c2f79c98 Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and Xcode
0795d25b cmVisualStudio10TargetGenerator: Factor out include dir computation
1ab4d186 cmLocalVisualStudio7Generator: Clarify variable name of compiled language
07e1a743 cmLocalVisualStudio7Generator: Clarify condition for target that compiles
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1657
2018-01-16 09:33:23 -05:00
Brad King
7accd7ebe2
Merge topic 'CheckIncludeFile-required-libs'
...
f74c2580 CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1620
2018-01-16 09:27:02 -05:00
Kyle Edwards
c42b377c29
cmCacheManager: Test and document newline truncation behavior
2018-01-15 09:28:32 -05:00
Brad King
506fda1cf0
Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and Xcode
...
The set of compile flags used for a target's C and C++ sources is based
on the linker language. By default this is always the C++ flags if any
C++ sources appear in the target, and otherwise the C flags. Therefore
we can define the `COMPILE_LANGUAGE` generator expression in
`INCLUDE_DIRECTORIES` to match the selected language.
This is not exactly the same as for other generators, but is the best VS
and Xcode can do. It is also sufficient for many use cases since the
set of include directories for C and C++ is frequently similar but may
be distinct from those for other languages like CUDA.
Fixes : #17435
2018-01-12 14:27:37 -05:00
Brad King
c2f79c9867
Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and Xcode
...
The set of compile flags used for a target's C and C++ sources is based
on the linker language. By default this is always the C++ flags if any
C++ sources appear in the target, and otherwise the C flags. Therefore
we can define the `COMPILE_LANGUAGE` generator expression in
`COMPILE_DEFINITIONS` to match the selected language.
This is not exactly the same as for other generators, but is the best VS
and Xcode can do. It is also sufficient for many use cases since the
set of definitions for C and C++ is frequently similar but may be
distinct from those for other languages like CUDA.
Issue: #17435
2018-01-12 14:27:37 -05:00
Don Hinton
f74c25802d
CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES
...
This is needed when cross compiling and the compiler requires a specific
linker different from the default, e.g., when cross compiling from
Darwin to Linux and passing `-fuse-ld=lld` to clang.
Fixes : #9514
2018-01-10 14:13:32 -05:00
luz.paz
d91b2d9158
MAINT: Misc. typos
...
Found via `codespell`
2018-01-10 12:34:14 -05:00
Brad King
a3bba2a5ad
Merge topic '17431-iphone-deployment-target'
...
4017bf40 Darwin: Emit deployment target that matches the SDK
8f4663ff Xcode: rename embedded SDK query function
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1447
2018-01-08 09:58:11 -05:00
Craig Scott
d88451568d
Merge topic 'various-typos'
...
3ab7bf82 Various typo fixes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1626
2018-01-04 14:37:49 -05:00
Luz Paz
3ab7bf8285
Various typo fixes
...
Some are user-facing. Others are source comments.
2018-01-04 06:52:01 +11:00
Craig Scott
1e6d1dd358
FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote prevention
...
Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any
automatic quoting applied to it when written to the Doxyfile.
2018-01-03 07:59:59 +11:00
Gregor Jasny
4017bf40de
Darwin: Emit deployment target that matches the SDK
...
Closes : #17431
2017-12-22 21:56:53 +01:00
Jean-Philippe Lebel
739ae1d090
CPack/IFW: Add option to control deletion of the install directory
...
Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW
supports an option to prevent, or not, deletion of the installation
directory. This is a direct pass-through to that variable.
2017-12-15 13:24:58 -05:00
Brad King
e016d6d255
Merge topic 'cpack-rpm-check-executable-flags'
...
a2031d3a CPack/RPM: check executable flags for debuginfo packages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1565
2017-12-07 08:28:31 -05:00
Brad King
e1a09cfbd1
Merge topic 'externalproject_download_dir'
...
b8b87489 ExternalProject: Support substituting <DOWNLOAD_DIR>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1537
2017-12-07 08:14:34 -05:00
Craig Scott
b8b8748977
ExternalProject: Support substituting <DOWNLOAD_DIR>
2017-12-07 07:22:02 +11:00