Bartosz Kosiorek
c8e217e0a7
cmake: tar: Allow selective extracting and listing of archives
2019-05-23 10:08:22 -04:00
Brad King
5222400d9f
Merge topic 'FindPython-find_strategy'
...
8517b549f4 FindPython: Add policy to manage lookup stratgey default.
9f205acefe FindPython: Implement lookup strategies.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3354
2019-05-23 08:59:25 -04:00
Brad King
cbd1c5b4ab
Merge topic 'framework-var'
...
26ea022c3b Add variable CMAKE_FRAMEWORK
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3347
2019-05-23 08:57:36 -04:00
Brad King
8ed6efbbd3
Merge topic 'default-generator-env'
...
d0f0ba0f7a Tests: Add environment generator tests
a48ce8f4bf Help: Add documentation for default generator environment variables
083cf7e8a2 cmake: Allow default generator to be set by environment variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3218
2019-05-22 10:32:43 -04:00
Brad King
c024e44abe
Merge topic 'find-package-prefer-config'
...
26a99da206 find_package: Add option to prefer Config mode
c365243a3a find_package: Factor out module and config find_package methods
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com >
Merge-request: !3339
2019-05-22 10:28:59 -04:00
Craig Scott
ad32282a3e
Merge topic 'file-remove-no-empty'
...
a1eb03569d file: Change REMOVE to ignore empty names
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3349
2019-05-22 08:57:29 -04:00
Eicke Herbertz
a48ce8f4bf
Help: Add documentation for default generator environment variables
...
Documentation for environment variables that control the default
generator selection:
* CMAKE_GENERATOR
* CMAKE_GENERATOR_INSTANCE
* CMAKE_GENERATOR_PLATFORM
* CMAKE_GENERATOR_TOOLSET
2019-05-22 07:40:49 -04:00
Bartosz Kosiorek
53cb1f2d04
cmake: Teach cmake -E tar command, Zstandard compression
...
Fixes #18657
2019-05-22 03:46:55 +02:00
Cristian Adam
26a99da206
find_package: Add option to prefer Config mode
...
Add a `CMAKE_FIND_PACKAGE_PREFER_CONFIG` variable to tell
`find_package` calls to look for a package configuration file
first even if a find module is available.
Fixes : #16805 , #19236
2019-05-21 10:29:47 -04:00
Marc Chevrier
8517b549f4
FindPython: Add policy to manage lookup stratgey default.
2019-05-21 16:13:27 +02:00
Brad King
8538685c85
Merge topic 'FindPostgreSQL-config-support'
...
368bcba28a FindPostgreSQL: Find debug lib, imported configs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3298
2019-05-21 09:44:19 -04:00
Brad King
a1eb03569d
file: Change REMOVE to ignore empty names
...
Previously code like
file(REMOVE_RECURSE "${accidentally_missing_variable}")
treated the empty string as a relative path with respect to the
current directory and removed its contents. Change this behavior
to ignore the empty string with a warning instead.
Normally such behavior changes are done with a policy, but in this case
such code is likely a real bug in project code that can delete data.
Fixes : #19274
2019-05-21 09:25:32 -04:00
Ruslan Baratov
26ea022c3b
Add variable CMAKE_FRAMEWORK
2019-05-21 14:26:23 +03:00
Andrei Lebedev
368bcba28a
FindPostgreSQL: Find debug lib, imported configs
...
* Add find_library calls for debug and release
* Set imported configs for corresponding libraries in imported target
* Set debug/optimized in PostgreSQL_LIBRARIES
Signed-off-by: Andrei Lebedev <lebdron@gmail.com >
2019-05-20 11:29:04 -04:00
Brad King
a9fb9a8774
Merge topic 'ninja-swift'
...
a9180ccf9a Tests: add a check for the Swift compiler
d745551fb6 Help: add some initial documentation for Swift support
9a182c9e5b Auxiliary: update vim syntax highlighting
e9b0063e8e Modules: add build rules for Swift Ninja support
b6412e3e38 Ninja: add placeholders to support Swift build
7d7f31161d Ninja: add support for Swift's output-file-map.json
d688c4c19d Swift: remove unnecessary unreleased Ninja infrastructure
0723582208 Swift: Detect compiler version
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3297
2019-05-20 10:55:27 -04:00
Marc Chevrier
3bd8ed22e8
Merge topic 'file-install-follow-symlink-chain'
...
e3ff7ced63 file(INSTALL): Add FOLLOW_SYMLINK_CHAIN argument
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Merge-request: !3332
2019-05-18 04:25:39 -04:00
Brad King
acc2f022bb
Merge topic 'offer_compiler_lang_generator_expression'
...
e214abdaab Genex: Add COMPILE_LANG_AND_ID generator expression
f84ed796a2 Docs: Generator-expressions remove usage of `CMake-id`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3300
2019-05-17 09:27:12 -04:00
Kyle Edwards
e3ff7ced63
file(INSTALL): Add FOLLOW_SYMLINK_CHAIN argument
2019-05-16 15:25:33 -04:00
Saleem Abdulrasool
d745551fb6
Help: add some initial documentation for Swift support
2019-05-16 14:41:05 -04:00
Brad King
64a7f491ef
Merge topic 'armclang'
...
7b0abaac31 ARMClang: Add support for Clang-based ARM compiler
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3315
2019-05-16 10:27:44 -04:00
Brad King
92b7a8fa29
Merge topic 'sunpro-supports-cxx14-release-note'
...
fb39f09dc2 Help: Add release note that SunPro supports C++14
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3329
2019-05-16 10:21:56 -04:00
Brad King
9ee24ede73
Merge topic 'msvc-jmc'
...
2a9ff9703e MSVC: Add support for /JMC (Just My Code)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3121
2019-05-15 14:06:58 -04:00
Robert Maynard
fb39f09dc2
Help: Add release note that SunPro supports C++14
2019-05-15 12:29:36 -04:00
Brad King
66efdbd21a
Merge topic 'additional_clean_files'
...
b5bf369ec6 Release notes: Add release notes for ADDITIONAL_CLEAN_FILES properties
4e2ce0a67a Doc: Update and deprecate ADDITIONAL_MAKE_CLEAN_FILES directory property
338994d65d Doc: Add documentation for ADDITIONAL_CLEAN_FILES properties
c11f089d73 Tests: Extend MakeClean test to cover ADDITIONAL_CLEAN_FILES
012d599e26 Ninja: Add support for ADDITIONAL_CLEAN_FILES target property
890a1b9dc3 Ninja: Add support for ADDITIONAL_CLEAN_FILES directory property
7b23001f20 Ninja: Add support for additional clean files
d745df4b01 Makefiles: Add support for ADDITIONAL_CLEAN_FILES target property
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3318
2019-05-15 09:22:18 -04:00
Brad King
0064edf417
Merge topic 'ninja-pool-custom-command'
...
9f76961de8 Support job pools in custom commands and targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3308
2019-05-15 09:21:08 -04:00
Sebastian Holtermann
b5bf369ec6
Release notes: Add release notes for ADDITIONAL_CLEAN_FILES properties
...
This adds release notes for the `ADDITIONAL_CLEAN_FILES` target and directory
properties. It also adds a deprecation release note for the
`ADDITIONAL_MAKE_CLEAN_FILES` directory property.
2019-05-14 21:32:12 +02:00
Johan Stridkvist
7b0abaac31
ARMClang: Add support for Clang-based ARM compiler
...
Fixes : #18215
2019-05-14 14:59:55 -04:00
Robert Maynard
e214abdaab
Genex: Add COMPILE_LANG_AND_ID generator expression
2019-05-14 14:54:15 -04:00
Luca Cappa
2a9ff9703e
MSVC: Add support for /JMC (Just My Code)
2019-05-14 13:27:18 -04:00
Brad King
a0b07cdcf5
Merge topic 'doc-relnotes-3.14'
...
f2aeba927c Help: Add 3.14.4 release notes
1d645e9891 Merge branch 'doc-relnotes-3.13' into doc-relnotes-3.14
d6b8822919 Help: Add 3.13.5 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3319
2019-05-14 11:26:18 -04:00
Brad King
f2aeba927c
Help: Add 3.14.4 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). Also
reference the equivalent note already added to the 3.13.5 notes.
2019-05-14 11:21:00 -04:00
Brad King
1d645e9891
Merge branch 'doc-relnotes-3.13' into doc-relnotes-3.14
2019-05-14 11:19:32 -04:00
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
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
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
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