Brad King
d6b8822919
Help: Add 3.13.5 release notes
...
Add a note about the fix in commit 3d3713121b (target_link_libraries:
Fix static library private deps in other dirs, 2019-04-30).
2019-05-14 11:18:42 -04:00
Brad King
2389fcc677
Merge topic 'find-boost-cmp0093'
...
5108759ed2 FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z format
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3317
2019-05-14 11:14:33 -04:00
Brad King
e0ab9e1cb9
Merge topic 'apple_clang_cxx_20_support'
...
9523ca72e2 Features: Activate C++20 support for AppleClang 10.0+
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3294
2019-05-14 10:52:17 -04:00
Rosen Matev
9f76961de8
Support job pools in custom commands and targets
...
Provide a way for custom commands and targets to set the pool variable
of the ninja build statement. Setting `JOB_POOL` is not compatible with
`USES_TERMINAL`, which implies the `console` pool.
The option is silently ignored with other generators.
Closes : #18483
2019-05-14 15:58:00 +02:00
Robert Maynard
f84ed796a2
Docs: Generator-expressions remove usage of CMake-id
2019-05-13 14:45:34 -04:00
Dennis Klein
5108759ed2
FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z format
...
This aligns module mode behaviour with config mode.
2019-05-13 11:57:12 -04:00
Brad King
2bc9ddcad9
Merge topic 'iar-new_architectures'
...
4178096493 IAR: Add architecture support for RL78, RH850 and MSP430
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3288
2019-05-13 10:03:35 -04:00
Marc Chevrier
741fb95f66
Merge topic 'FindPython-module'
...
30b873c05d FindPython*: Manage weak link for Python modules
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !3291
2019-05-10 09:02:57 -04:00
Stefan Andersson
4178096493
IAR: Add architecture support for RL78, RH850 and MSP430
2019-05-08 12:55:18 -04:00
Brad King
ca0ac8f289
Merge topic 'FindBoost-fphsa'
...
634f6ea159 FindBoost: Add new unit tests
a22dd5d8be FindBoost: Modernize module mode with FPHSA
a315977595 FindBoost: Fix and modernize config mode with FPHSA
24342d5ef7 FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNT
26634752d0 FindBoost: Introduce new imported target Boost::headers
d6c12f374d FindBoost: Compare versions consistently against Boost_VERSION_STRING
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3243
2019-05-08 12:42:29 -04:00
Craig Scott
4aace9b015
Merge topic 'ctest-update-version-override'
...
2a34d0ac36 ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDE
7ddac95121 Help: cross-ref and wording of docs related to ctest_update()
a0d04d8810 testing: Update terminology in ctest_update tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Zack Galbreath <zack.galbreath@kitware.com >
Merge-request: !3277
2019-05-08 08:49:34 -04:00
Robert Maynard
9523ca72e2
Features: Activate C++20 support for AppleClang 10.0+
2019-05-07 16:24:08 -04:00
Brad King
fa077acba5
Merge topic 'enforce-explicit-use-of-project'
...
1527defbfe cmMakefile: Enforce explicit use of project() command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3245
2019-05-07 11:17:26 -04:00
Zack Galbreath
2a34d0ac36
ctest: Add new variable CTEST_UPDATE_VERSION_OVERRIDE
...
Set this in a CTest script to explicitly define what the current revision
will be reported as in Update.xml.
2019-05-07 10:45:47 -04:00
Marc Chevrier
30b873c05d
FindPython*: Manage weak link for Python modules
...
Add new target Python::Module which take care of platform requirements
for Python module development.
Fixes : #18100
2019-05-07 16:37:24 +02:00
Dennis Klein
a22dd5d8be
FindBoost: Modernize module mode with FPHSA
2019-05-07 16:08:55 +02:00
Dennis Klein
a315977595
FindBoost: Fix and modernize config mode with FPHSA
...
Fixes : #19186
2019-05-07 16:08:55 +02:00
Dennis Klein
24342d5ef7
FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNT
2019-05-07 16:08:55 +02:00
Dennis Klein
26634752d0
FindBoost: Introduce new imported target Boost::headers
2019-05-07 16:08:55 +02:00
Marc Chevrier
37bf503db2
Merge topic 'docs-static-lib-link-options'
...
a6a543ced6 Help: Clarify that link options don't apply to static library targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3285
2019-05-07 04:15:46 -04:00
Bartosz Kosiorek
1527defbfe
cmMakefile: Enforce explicit use of project() command
...
Fixes: 17714
2019-05-06 10:58:10 +02:00
Craig Scott
a6a543ced6
Help: Clarify that link options don't apply to static library targets
2019-05-05 19:05:14 +10:00
Marc Chevrier
e3919bae17
UseSWIG: Manage alternate library name
...
Manage alternate library name by passing -interface <library_name>
for python language or -dllimport <library_name> for CSharp language
to the SWIG compiler.
Fixes : #18771
2019-05-03 18:20:17 +02:00
Brad King
6f242acfcb
Merge topic 'cpack-ifw-stylesheet'
...
c474fb2777 CPack/IFW: Add StyleSheet field
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3270
2019-05-03 11:46:25 -04:00
Brad King
9713154cf6
Merge topic 'jobs-positive-value'
...
6ad699358b cmake: --build -j <jobs> should not accept 0.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3255
2019-05-03 11:45:32 -04:00
Zack Galbreath
7ddac95121
Help: cross-ref and wording of docs related to ctest_update()
...
Provide better motivation for users to click through to the CTest manual
from the ctest_update command help page.
2019-05-03 20:26:50 +10:00
Zaytsev Yuriy
c474fb2777
CPack/IFW: Add StyleSheet field
2019-05-02 13:01:31 -04:00
Marc Chevrier
6e5ccabe9b
Genex: Update $<TARGET_FILE_BASE_NAME:...>: take care of POSTFIX
...
This capability complement MR !3190 and !3207
and is also needed to solve issue #18771 .
2019-05-02 11:01:10 +02:00
Fred Baksik
6ad699358b
cmake: --build -j <jobs> should not accept 0.
...
Fixes #19059
2019-05-01 09:15:51 -04:00
Craig Scott
e138207c42
Merge topic 'message-new-types-and-logging'
...
599587feb1 message(): Minor code modernization
6cc93b370e message(): Add support for log levels
377d1b7896 cmSystemTools: Remove unused message-related code, simplify logic
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Merge-request: !3268
2019-04-30 18:35:06 -04:00
Brad King
d0e6fc2833
Merge topic 'relax_TARGET_OBJECT_generator_expr'
...
ce078dda79 Relax the usage of TARGET_OBJECTS generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3178
2019-04-30 10:09:52 -04:00
Brad King
d9a4da453f
Merge topic 'server-deprecate'
...
996e1885c4 server: deprecate in favor of the file-api
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !3251
2019-04-30 10:07:27 -04:00
Brad King
60b28de5c8
Merge topic 'add-execute_process-command-echo'
...
044dcf9f8d execute_process: Add option to echo command lines
d350fb6889 execute_process: Manage KWSys Process lifetime with unique_ptr
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3165
2019-04-30 10:05:09 -04:00
Brad King
b74061ba38
Merge topic 'msvc-runtime-library'
...
61f70e81a7 MSVC: Document and test behavior of empty MSVC_RUNTIME_LIBRARY
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3249
2019-04-30 10:03:20 -04:00
Alex Turbov
6cc93b370e
message(): Add support for log levels
...
Relates: #18943
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
2019-04-28 22:45:44 +10:00
Kyle Edwards
c3ef567951
Merge topic 'update-documentation'
...
cb811d11ce Help: Improve description of modules
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3222
2019-04-24 10:23:39 -04:00
Bartosz Kosiorek
cb811d11ce
Help: Improve description of modules
2019-04-23 10:39:34 +02:00
Brad King
996e1885c4
server: deprecate in favor of the file-api
...
Document the server mode as deprecated. Add a deprecation message
to the configure step output when invoked through server mode.
Closes : #19101
2019-04-22 09:38:44 -04:00
Brad King
61f70e81a7
MSVC: Document and test behavior of empty MSVC_RUNTIME_LIBRARY
...
Extend tests added by commit fb3370b6a1 (MSVC: Add abstraction for
runtime library selection, 2019-04-10) to cover an empty value for
the property. It should result in no specific setting.
Issue: #19108
2019-04-22 08:48:44 -04:00
Brad King
d0e3701861
Merge topic 'msvc-warning-flags'
...
1baf122cd4 MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3250
2019-04-22 07:51:01 -04:00
Brad King
cb23f2ac8b
Merge topic 'vs-default-platform'
...
db02be85a0 VS: Provide the default platform name to project code
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3246
2019-04-22 07:38:33 -04:00
Robert Maynard
ce078dda79
Relax the usage of TARGET_OBJECTS generator expression
...
The geneator expression can now be used with static, shared, and
module libraries and executables.
2019-04-19 13:52:50 -04:00
Bill Hoffman
044dcf9f8d
execute_process: Add option to echo command lines
...
Add COMMAND_ECHO option to the execute_process command. This will allow
execute_process to show the command it will run. Also add a cmake variable
CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can
be set to one of the following: STDERR|STDOUT|NONE. The command will be
printed to stderr or stdout or not at all.
Fixes : #18933
2019-04-19 13:32:08 -04:00
Brad King
1baf122cd4
MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default
...
We do not add default warning flags on other compilers, and having
a warning flag in the default flags makes it hard for projects to
customize the warning level. They need to use string processing
to remove `/W3` from `CMAKE_{C,CXX}_FLAGS`. Therefore we should
drop it.
However, projects may be using string processing to replace `/W3`
with another flag, so we cannot simply drop it. Add a policy to
drop it in a compatible way.
Fixes : #18317
2019-04-19 12:56:49 -04:00
Brad King
db02be85a0
VS: Provide the default platform name to project code
...
The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio
generators based on `CMAKE_GENERATOR_PLATFORM` or some default.
Prior to the VS 2019 generator, the default was always `Win32`.
However, for the `Visual Studio 16 2019` generator, the default is
based on the host platform.
Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for
use by project code. This is particularly useful in toolchain files
because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so
`CMAKE_VS_PLATFORM_NAME` is not yet known. Of course the toolchain file
author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not
then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that
will be used.
Fixes : #19177
2019-04-19 07:46:13 -04:00
Brad King
a000ec7a08
Merge topic 'add_xl_cxx14_support'
...
458ea9d76c XL: Add C++14 language level flags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3235
2019-04-18 11:03:12 -04:00
Brad King
2ed688a863
Merge topic 'msvc-runtime-library'
...
fb3370b6a1 MSVC: Add abstraction for runtime library selection
f621e7fa5d VS: Fix Fortran runtime library flag map special case for '-' options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Acked-by: Leonid Pospelov <pospelovlm@yandex.ru >
Merge-request: !3211
2019-04-17 11:01:37 -04:00
Brad King
fb3370b6a1
MSVC: Add abstraction for runtime library selection
...
Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class
abstraction to select the runtime library from an enumeration of logical
names. We've long hesitated to do this because the idea of "runtime
library selection" touches on related concepts on several platforms.
Avoid that scope creep by simply defining an abstraction that applies
only when targeting the MSVC ABI on Windows.
Removing the old default flags requires a policy because existing
projects may rely on string processing to edit them and choose a runtime
library under the old behavior. Add policy CMP0091 to provide
compatibility.
Fixes : #19108
2019-04-17 11:00:44 -04:00
Brad King
2d37678226
Merge topic 'vs-project-import'
...
d145d72e70 VS: add target property VS_PROJECT_IMPORT_<propspath>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3143
2019-04-16 13:43:52 -04:00
Brad King
9aecda56ba
Merge topic 'genex-output_name'
...
60ec292258 Genex: Rename $<TARGET_*_OUTPUT_NAME:...> in $<TARGET_*_FILE_BASE_NAME:...>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3228
2019-04-16 13:42:53 -04:00