Matthew Woehlke
9672d81ca3
Qt4Macros: Don't AUTOMOC or AUTOUIC qt4-generated files
...
Suppress AUTOMOC and AUTOUIC on files generated by Qt4 wrapping macros;
particularly, those generated by `qt4_wrap_cpp`, `qt4_wrap_ui`, and
`qt4_add_resources`. None of these should need AUTOMOC or AUTOUIC
treatment, and CMP0071 makes it important to mark this explicitly.
2018-05-15 09:50:22 -04:00
Brad King
4f0c5d3775
Merge branch 'restore-imported-lib-alias-diagnostic' into release-3.11
...
Merge-request: !2058
2018-05-10 10:11:48 -04:00
Brad King
e567d7eb63
add_library: Restore error on alias of non-global imported target
...
In commit v3.11.0-rc1~433^2~1 (Add support for IMPORTED GLOBAL targets
to be aliased, 2017-09-14) we accidentally dropped the error on calling
`add_library` to alias an imported target that is not globally visible.
The `add_executable` command's equivalent check was properly updated.
Restore the check in `add_library` with the same update. Also fix the
test case accordingly.
Fixes : #17982
2018-05-10 09:57:31 -04:00
Marc Chevrier
e15adbfed3
Help: Specify COMPILE_OPTIONS and COMPILE_FLAGS source properties usage
2018-05-07 09:45:23 -04:00
Brad King
35109e718b
Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES"
...
This reverts commit v3.11.0-rc1~108^2 (CheckIncludeFiles: Honor
CMAKE_REQUIRED_LIBRARIES, 2017-12-24). The behavior change can
affect checks in existing projects that don't expect the behavior.
Introducing the behavior again will require a policy.
Fixes : #17874
Issue: #9514
2018-04-04 13:14:01 -04:00
Brad King
4267960fc9
Features: Record for SunPro 5.15
...
Oracle Developer Studio 12.6 adds support for more C++ 11 features.
2018-03-20 11:48:22 -04:00
Brad King
df27bd3f83
Merge branch 'gtest_discover_tests_timeout' into release-3.11
...
Merge-request: !1851
2018-03-16 07:52:23 -04:00
Craig Scott
96fdde26bb
GoogleTest: Rename TIMEOUT parameter to avoid clash
...
In gtest_discover_tests(), the TIMEOUT keyword was making it
impossible to set the TIMEOUT test property via the PROPERTIES
keyword. This would be a frequent case, but it doesn't complain
and instead silently does something different to what would
normally be expected. The TIMEOUT keyword has been renamed
to DISCOVERY_TIMEOUT, thereby removing the clash.
This is a breaking change. 3.10.1 and 3.10.2 were the only versions
that supported the TIMEOUT keyword and uses of it were likely
not working as intended.
Fixes : #17801
2018-03-15 07:36:42 -04:00
Kai Wolf
78756429ab
Help: Adapt cmake-buildsystem(7) to new IMPORTED targets features
...
Since commit v3.11.0-rc1~433^2~2 (Teach target_* commands to set
INTERFACE properties of IMPORTED targets, 2017-09-18) it is now possible
to use the customary `target_*` commands for adjusting the settings of
an IMPORTED target. Update documentation accordingly.
2018-03-12 10:23:21 -04:00
Brad King
d513a4035b
Merge branch 'autogen-depend-filters-documentation' into release-3.11
...
Merge-request: !1782
2018-02-21 10:33:12 -05:00
Sebastian Holtermann
bfffe42b98
Autogen: Doc: Extend AUTOMOC_DEPEND_FILTERS documentation
2018-02-21 10:28:43 -05:00
Sebastian Holtermann
1cf7c54a6b
Autogen: Doc: Extend AUTOGEN_TARGET_DEPENDS documentation
2018-02-21 10:28:43 -05:00
Brad King
eded0bae2e
Merge branch 'help_fixup' into release-3.11
...
Merge-request: !1770
2018-02-16 09:42:09 -05:00
Shane Parris
1667e24453
Help: Fix command references in CMAKE_NETRC* variable documentation
2018-02-16 09:41:03 -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
Brad King
fba5980fa6
Merge topic 'fix_help_cmake_parse_arguments'
...
b95eda9b Help: Fix code example in cmake_parse_arguments.rst
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1747
2018-02-05 08:47:36 -05:00
Kai Wolf
b95eda9b11
Help: Fix code example in cmake_parse_arguments.rst
2018-02-04 08:41:03 +01:00
Sebastian Holtermann
c4ffbb79c0
Autogen: Documentation: Update for AUTORCC changes
2018-02-03 10:12:01 +01:00
Christian Pfeiffer
efe22af20e
Help: Clarify MSVC and MSVC_VERSION variables
...
The current documentation doesn't clarify that compilers simulating
Visual C++ will also have these variables set.
2018-02-01 08:05:46 -05:00
Brad King
142938225e
Merge topic 'update_foreach_range_doc'
...
7771657c Help: Better explain that foreach(RANGE ) is inclusive.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1716
2018-01-30 08:48:32 -05:00
Brad King
ed91b81c0d
Merge topic 'doc-typo-CMAKE_INCLUDE_CURRENT_DIR'
...
99e473ca Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1708
2018-01-30 08:48:03 -05:00
Brad King
eddea58148
Merge topic 'doc-typo-CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE'
...
fc57afde Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1709
2018-01-30 08:47:18 -05:00
Robert Maynard
7771657cd0
Help: Better explain that foreach(RANGE ) is inclusive.
2018-01-29 10:52:14 -05:00
silvioprog
99e473ca83
Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR docs
2018-01-29 09:42:48 -05:00
silvioprog
fc57afde05
Help: Fix typo in CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE docs
2018-01-29 09:41:37 -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
bb33bb657e
Help/dev: Add log step to 'release' branch instructions
...
Extend the maintainer guide with a reminder to self-review the
new ancestry of the `release` and `master` branches to ensure
that nothing unexpected was merged.
2018-01-25 09:44:36 -05:00
Brad King
5c724c4ca8
Merge topic 'server-polish-opt-handshake'
...
239a3ef8 Server-mode: Document protocol version for optional handshake arguments
9b1a3d24 Server-mode: Rename functions to reflect what they do
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1693
2018-01-25 08:35:28 -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
Tobias Hunger
239a3ef821
Server-mode: Document protocol version for optional handshake arguments
...
Document which Protocol version only needs the build directory to be passed
during a handshake.
This is available a bit earlier than that, but from all I can tell 1.2 is
the earliest version where that feature is reliably available.
2018-01-24 17:31:20 +01: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
1f35d3f20a
Merge topic 'heading_automoc_macro_names'
...
c89c87c9 Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1671
2018-01-22 10:13:01 -05:00
Brad King
856dc73e02
Merge topic 'docs_cmake_crosscompiling'
...
60febda4 Help: Explain meaning and limitations of CMAKE_CROSSCOMPILING
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1672
2018-01-22 10:12:21 -05:00
Craig Scott
eae7718440
Merge topic 'docs_cmake_lang_compiler_external_toolchain'
...
f3e9bedd Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removal
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1679
2018-01-20 17:56:05 -05:00
Craig Scott
f3e9beddfb
Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removal
2018-01-20 17:17:28 +11:00
Taylor Braun-Jones
73bb781df0
Help: Reword misleading docs for cmake -E time
2018-01-19 16:07:39 -05: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
Craig Scott
c89c87c9be
Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMES
2018-01-19 08:31:48 +11:00
Craig Scott
60febda455
Help: Explain meaning and limitations of CMAKE_CROSSCOMPILING
...
Fixes : #17653
2018-01-19 08:31:34 +11:00