Saleem Abdulrasool
f45d8b2f23
Help: improve details on CMAKE_LANG_CREATE_SHARED_*
...
Add a note that the `CMAKE_<LANG>_CREATE_SHARED_*` rule variables are
semicolon delimited lists that can run multiple commands.
2019-01-31 09:55:52 -08:00
Brad King
9aef4a732b
Merge topic 'variables1'
...
9d20fe014f Help: moved 7 variables to "internal" section
dfb2d6178e Help: "internal variables" instead of "obsolete", with some explanatory prose
9c4cdc43f6 Help: declare CMAKE_HOME_DIRECTORY obsolete
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2881
2019-01-31 11:11:28 -05:00
Brad King
1b3b0fa43a
Merge topic 'msys_docs'
...
ec027aa64a Help: Add documentation for MSYS variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2882
2019-01-31 11:10:03 -05:00
Brad King
eb2c23868f
Merge topic 'tidy-use-equals-delete'
...
b05b778a2d clang-tidy: Use `= delete`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Rejected-by: vvs31415 <vstakhovsky@fastmail.com >
Merge-request: !2848
2019-01-30 14:00:58 -05:00
Harry Mallon
ec027aa64a
Help: Add documentation for MSYS variable
2019-01-30 10:20:59 -05:00
Joachim Wuttke (o)
9d20fe014f
Help: moved 7 variables to "internal" section
2019-01-30 16:13:13 +01:00
Joachim Wuttke (o)
dfb2d6178e
Help: "internal variables" instead of "obsolete", with some explanatory prose
2019-01-30 16:13:10 +01:00
Brad King
748d024551
Merge topic 'fetchcontent-reduce-boilerplate'
...
a94355c7b7 FetchContent: Add new command FetchContent_MakeAvailable()
611d5274de Sphinx: Add limited support for nested variables in docs
1a07e1b47d FetchContent: Trivial doc corrections
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2830
2019-01-30 08:13:42 -05:00
Joachim Wuttke (o)
9c4cdc43f6
Help: declare CMAKE_HOME_DIRECTORY obsolete
2019-01-30 13:04:56 +01:00
Regina Pfeifer
b05b778a2d
clang-tidy: Use = delete
2019-01-29 14:09:21 -05:00
Michael Hirsch, Ph.D
f201c9257d
DOCS: put Flang in alphabetical order
2019-01-29 13:30:55 -05:00
Brad King
9620cb935a
Merge topic 'add_consistent_verbose_build_flag'
...
66801f4d40 cmake: Add tests for verbose output to --build mode
439fe2e253 cmake: Add options for verbose output to --build mode
638667efa2 cmake: cmcmd.cxx fix "The arguments are" comments
3ca4402966 ctest: Fix --build-and-test without --build-target on Xcode
cb6c233ecc cmake: Add -hideShellScriptEnvironment xcodebuild option
1a45266cb5 cmGlobalGenerator: Add a class that represent the build command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2708
2019-01-29 09:19:39 -05:00
Brad King
0fd742a6ff
VS: Teach VS 2019 generator to select host tools matching host arch
...
This generator is new so we can introduce the long-desired behavior
of selecting ``host=x64`` tools by default on x64 hosts.
2019-01-28 12:58:21 -05:00
Brad King
17cef3806d
VS: Add support for explicit 32-bit toolset selection via host=x86
...
Generalize the ``host=x64`` option in `CMAKE_GENERATOR_TOOLSET`
to also support ``host=x86``.
2019-01-28 11:22:50 -05:00
Florian Maushart
439fe2e253
cmake: Add options for verbose output to --build mode
...
While we already support `VERBOSE` environment variable and
`CMAKE_VERBOSE_MAKEFILE` cached variable, add `-v` and `--verbose`
command line options to be able to activate verbose output directly from
CMake's build tool mode command line.
Also make `msbuild` honor the verbosity setting. `xcodebuild` still
doesn't honor the verbosity setting as it will need a policy added
and reworking of cmGlobalGenerator and cmsys to support
multiple command invocation.
2019-01-28 09:44:50 -05:00
Brad King
fc96aa03f8
Merge topic 'commit-ref-in-prose'
...
939dc9a58c Help: prefer commit hashes in commit references
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2854
2019-01-28 08:45:24 -05:00
Brad King
8e495333c0
Merge topic 'cmake-gui-s-b'
...
ad0853b3d4 QtDialog: Clean up and document -S and -B options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robert.maynard@kitware.com >
Merge-request: !2863
2019-01-28 08:36:58 -05:00
Brad King
a844c7248d
Merge topic 'cmake-E-compare_files-eol'
...
a5098cad94 cmake: Add --ignore-eol option to `-E compare_files` command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2778
2019-01-28 08:27:03 -05:00
Taylor Braun-Jones
a5098cad94
cmake: Add --ignore-eol option to -E compare_files command
...
Fixes : #13007
2019-01-28 08:24:50 -05:00
Brad King
1593e16d88
Merge topic 'get_filename_component_last_ext'
...
2a9220c34d Help: Add notes for topic 'get_filename_component_last_ext'
edda30d0f5 Tests: Add tests for LAST_EXT and NAME_WLE
7a25ef326b Help: Add documentation for new get_filename_component components
e50a36df48 cmGetFilenameComponentCommand: Add more components
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2853
2019-01-28 08:21:50 -05:00
Brad King
2a9220c34d
Help: Add notes for topic 'get_filename_component_last_ext'
2019-01-28 08:20:24 -05:00
Brad King
ce57bc8e04
Merge topic 'vs2019'
...
626c51f47b VS: Update for Visual Studio 2019 Preview 2
fd45cbf40e VS: Fix `/MANIFESTUAC:` link flag mapping for v142
db35e3cfd6 VS: Fix support for '/guard:cf' linker flag for v142
533f95c847 VS: Map the link `/debug` flag for v142
d2fcc6748a VS: Fix `/MANIFESTUAC:NO` link flag mapping for v142
a7973ccb53 VS: Populate `/permissive` flag table entry for v142
049410c0b6 VS: Populate `/JMC-` flag table entry for v142
43aa632f57 VS: Populate `-Qspectre-` flag table entry for v142
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2856
2019-01-28 08:07:28 -05:00
Craig Scott
a94355c7b7
FetchContent: Add new command FetchContent_MakeAvailable()
...
Relates: #18754
2019-01-26 16:49:15 +11:00
Kyle Edwards
ad0853b3d4
QtDialog: Clean up and document -S and -B options
2019-01-25 16:23:56 -05:00
Ben Boeckel
939dc9a58c
Help: prefer commit hashes in commit references
...
The logic is that the describe output is readily available using `git
tag --contains` locally. In addition, for a hypothetical commit which
landed in both v3.9.4 and v3.10.1, there is no "better" tag to refer to.
since v3.10.0's relation to such a commit is unclear either way.
Also mention that a `Fixes` trailer is preferred if the mention is just
to indicate a commit which introduced an error rather than writing a
complete sentence about it.
2019-01-25 12:10:10 -05:00
Brad King
40628b2519
Merge topic 'max-recursion-depth'
...
a6982cff0d cmMakefile: Impose maximum recursion limit
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Juraj Oršulić <juraj.orsulic@fer.hr >
Merge-request: !2746
2019-01-25 08:09:37 -05:00
Brad King
24b6e4830d
Merge topic 'exclude_from_all'
...
dc6888573d Pass EXCLUDE_FROM_ALL from directory to targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2816
2019-01-25 08:06:54 -05:00
Brad King
626c51f47b
VS: Update for Visual Studio 2019 Preview 2
...
The toolset is now called `v142`. Use matching flag tables.
Fixes : #18834
2019-01-24 13:49:25 -05:00
Tushar Maheshwari
7a25ef326b
Help: Add documentation for new get_filename_component components
2019-01-24 22:41:22 +05:30
Hiroshi Miura
513e77550d
FindPython: Introduce NumPy component
...
Fixes : #18678
Signed-off-by: Hiroshi Miura <miurahr@linux.com >
2019-01-25 01:26:48 +09:00
Kyle Edwards
e4541b0e3d
FindPython: Support script mode
...
Fixes : #18827
2019-01-23 13:51:09 -05:00
Kyle Edwards
a6982cff0d
cmMakefile: Impose maximum recursion limit
...
In order to keep infinitely-recursive scripts from causing a stack
overflow in the CMake executable, CMake now imposes a maximum
recursion limit before issuing an error message. The limit can be
adjusted at runtime with CMAKE_MAXIMUM_RECURSION_DEPTH.
Fixes : #18694
2019-01-23 09:52:29 -05:00
Brad King
20861d758b
Merge branch 'backport-cmake-warn-no-src-build-dir'
2019-01-22 14:46:56 -05:00
Craig Scott
6b85eea365
Help: Add 3.13.4 release note for no source/build dir error/warning
2019-01-22 14:07:20 -05:00
Zack Galbreath
dc6888573d
Pass EXCLUDE_FROM_ALL from directory to targets
...
When a target is created it now inherits the EXCLUDE_FROM_ALL property
from its directory. This change makes it possible to include a target
in "all", even if its directory has been marked as EXCLUDE_FROM_ALL.
2019-01-21 11:38:24 -05:00
Kyle Edwards
97700e9f5b
FindGit: Add imported target
2019-01-21 10:01:56 -05:00
Brad King
02f7e997e9
Merge topic 'ExternalProject-non-cmake-source-subdir'
...
c09ec79981 ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2823
2019-01-21 07:58:10 -05:00
Brad King
177b5fb61b
Merge topic 'fortran-compiler-id'
...
a080914274 Fortran: Add compiler ID/Version generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2804
2019-01-21 07:56:59 -05:00
Brad King
d704cc3407
Merge topic 'command_file_link'
...
0f08ed8936 cmSystemTools: Silence CreateLink and CreateSymlink errors
593d986470 Tests: Avoid cross-device links in CREATE_LINK test
9a3d85cfc5 Tests: Skip symlink tests on Windows
e68ea269d7 Tests: CREATE_LINK subcommand negative test case
45aa9c65a1 Tests: file CREATE_LINK subcommand test cases
8bb7562f1a Help: Add documentation for file(CREATE_LINK) subcommand
81650e488c cmFileCommand: Add CREATE_LINK subcommand
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2759
2019-01-21 07:48:26 -05:00
Brad King
d1aa2e1109
Merge topic 'find-package-resolve-symlinks'
...
b773e58099 find_package: add test coverage for CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS
a5e948a36f find_package: optionally resolve symlinks when discovering packages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2798
2019-01-21 07:47:29 -05:00
Brad King
fefae527c8
Merge topic 'submit-url'
...
2915a75615 CTest: Add documentation and release notes for SubmitURL
d6475daa79 Modules/CTest: Set SubmitURL
938f06fda6 ctest_submit: Add parameter SUBMIT_URL
65e725c957 CTest: Add option SubmitURL
65f1fc9d63 CTest: Add function GetSubmitURL
2bedd5fb7c ctest_submit: Remove submit method from log output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2719
2019-01-21 07:46:20 -05:00
Andrew Paprocki
a080914274
Fortran: Add compiler ID/Version generator expressions
...
Adds `Fortran_COMPILER_ID` and `Fortran_COMPILER_VERSION` generator
expression support to match equivalent `C_COMPILER_ID`,
`CXX_COMPILER_ID`, `C_COMPILER_VERSION`, and `CXX_COMPILER_VERSION`
support.
This is very helpful in the case where the C/C++ compiler suite is a
different type of compiler from the platform Fortran compiler and
projects use generator expressions to assign compiler flags and
definitions. (e.g. `GNU` C/C++ and `SunPro` Fortran on Linux)
2019-01-18 08:56:13 -05:00
Brad King
65a3abf999
Merge topic 'GHS_updates'
...
21ab58d3f8 GHS: Update test suite
72e0c115b7 GHS: Add Compiler ID detection
436cc5e991 GHS: try_compile() now uses GHS platform variables
4a1ec0de3d GHS: Fix toolset selection
1a66acdef2 GHS: Append ".gpj" to target name when generating build command
0c9e47d7cd GHS: Integrity Application updates
8044318431 GHS: Add support for some of the source file properties
73092b2213 GHS: Add support for object libraries
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2231
2019-01-18 06:58:35 -05:00
Brad King
2e7d4029f4
Merge topic 'remove-duplicate-link'
...
00c7e006a5 Help: Remove duplicate reference to IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2818
2019-01-18 06:55:52 -05:00
Ben Boeckel
c09ec79981
ExternalProject: support SOURCE_SUBDIR for BUILD_IN_SOURCE
2019-01-17 13:40:30 -05:00
Brad King
68e20f674a
Merge topic 'cmake_role-global-property'
...
4568d046c4 Properties: Add CMAKE_ROLE global property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2805
2019-01-17 11:43:09 -05:00
Brad King
bd3685b6cf
Merge topic 'vs-debug-utility-targets'
...
22b43b0009 VS: Add support for VS_DEBUGGER_* properties on custom targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2794
2019-01-17 11:07:11 -05:00
Kyle Edwards
00c7e006a5
Help: Remove duplicate reference to IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG>
2019-01-17 10:21:25 -05:00
Kyle Edwards
4568d046c4
Properties: Add CMAKE_ROLE global property
...
This property allows scripts to determine whether they're in project
mode, script mode, find-package mode, CTest, or CPack.
2019-01-17 09:44:29 -05:00
Craig Scott
9e84e14db7
Merge topic 'qt_wrap_command_deprecations'
...
74dc68b406 qt_wrap_*: Add deprecation notes to command docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Brad King <brad.king@kitware.com >
Merge-request: !2738
2019-01-16 15:20:59 -05:00