Commit Graph

36279 Commits

Author SHA1 Message Date
Brad King c41a7c7d90 file: Normalize GENERATE command input and output file paths
Normalize absolute paths so that no extra components like `../` or
`...//...` appear that later confuse relative path computation.
In particular, we expect paths sent to AddCMakeDependFile and
AddCMakeOutputFile to be normalized.

Do this only for paths that are already absolute because
we can't handle relative paths yet (see #16786).

Fixes: #16892
2017-06-08 10:41:28 -04:00
Brad King cab94b7c4f Merge topic 'bootstrap-cleanup'
9c0d1e75 bootstrap: implement cmake_extract_standard_flags() without loop
567bac89 bootstrap: use "grep -q" instead of output redirection
380bd70c bootstrap: implement cmake_toupper() using tr
e61979a7 bootstrap: don't use 'cat x | sed', let sed open the file instead

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !937
2017-06-08 09:25:52 -04:00
Brad King 2a83bffdb9 Merge topic 'suppress-false-positive-warning'
488ffbef CTestCustom: Suppress warning matched on source file name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !934
2017-06-08 08:56:03 -04:00
Kitware Robot bf06d72f39 CMake Nightly Date Stamp 2017-06-08 00:01:06 -04:00
Brad King f203669bcc Merge branch 'release-3.9' 2017-06-07 14:31:54 -04:00
Rolf Eike Beer 9c0d1e7531 bootstrap: implement cmake_extract_standard_flags() without loop
Pass all files to sed at once, and don't even change the directory for this.
2017-06-07 19:52:40 +02:00
Rolf Eike Beer 567bac890c bootstrap: use "grep -q" instead of output redirection 2017-06-07 19:52:40 +02:00
Rolf Eike Beer 380bd70cc2 bootstrap: implement cmake_toupper() using tr 2017-06-07 19:52:40 +02:00
Rolf Eike Beer e61979a71c bootstrap: don't use 'cat x | sed', let sed open the file instead 2017-06-07 19:52:40 +02:00
Brad King b6e35578b6 Merge branch 'release-3.9' 2017-06-07 13:26:44 -04:00
Brad King b8b8f0c0fd Merge topic 'FindDoxygen-compat'
893ee1b1 FindDoxygen: Restore DOXYGEN_DOT_FOUND variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !935
2017-06-07 13:25:21 -04:00
Brad King 010b50fda7 CMake 3.9.0-rc2 v3.9.0-rc2 2017-06-07 13:05:16 -04:00
Brad King 1c6d03729a Merge branch 'FindDoxygen-compat' into release-3.9 2017-06-07 12:54:57 -04:00
Konstantin Podsvirov 893ee1b17c FindDoxygen: Restore DOXYGEN_DOT_FOUND variable
The changes in commit v3.9.0-rc1~55^2 (Improve Doxygen support,
2017-04-10) accidentally dropped this variable from its compatibility
mode.
2017-06-07 12:51:06 -04:00
Brad King c8a8687bcb Merge topic 'revert-FindGTest-main-debug'
ab2954c4 Revert "FindGTest: Add gtestd_main variant of debug library"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !936
2017-06-07 12:42:04 -04:00
Brad King bc5a252a7b Merge branch 'revert-FindGTest-main-debug' into release-3.9 2017-06-07 12:39:57 -04:00
Brad King ab2954c471 Revert "FindGTest: Add gtestd_main variant of debug library"
The reported variant turned out to be due to a local configuration
problem.

Issue: #16940
2017-06-07 12:38:25 -04:00
Brad King a10c3cc69f Merge branch 'release-3.9' 2017-06-07 11:11:17 -04:00
Brad King d3f3759bfb Merge topic 'doc-3.9-find_dependency'
137938e5 Help: Add 3.9 release note about find_dependency update

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !933
2017-06-07 11:09:02 -04:00
Brad King 67c0b56e3c Merge topic 'autogen-no-vs-per-config'
cc1b513d Autogen: Do not use per-config file suffixes with VS yet

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !932
2017-06-07 11:08:13 -04:00
Brad King 488ffbef4f CTestCustom: Suppress warning matched on source file name
The `WarningMessagesDialog.cxx` source file name is displayed by
MSVC in the compiler output, and the CTest launcher matches the
name as a warning line starting in "Warning".  Suppress this
false positive with a custom exception.
2017-06-07 10:46:20 -04:00
Brad King 44e323ca92 Merge branch 'doc-3.9-find_dependency' into release-3.9 2017-06-07 10:14:45 -04:00
Matthew Woehlke 137938e5f0 Help: Add 3.9 release note about find_dependency update 2017-06-07 10:13:49 -04:00
Brad King b9d411eb25 Merge branch 'autogen-no-vs-per-config' into release-3.9 2017-06-07 10:01:18 -04:00
Brad King 5b1d0aeffe Merge topic 'fix-vs2017-featuredetect'
f4ce3962 C++ feature checks: Do not match "0 Warning(s)" as a warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !930
2017-06-07 09:59:12 -04:00
Brad King 1ee7a4ec77 Merge topic 'FindGTest-main-debug'
df18cd1d FindGTest: Add gtestd_main variant of debug library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !931
2017-06-07 09:56:44 -04:00
Brad King 0f0a4d43f4 Merge topic 'cmake_host_system_information-extend'
e7869e80 cmake_host_system_information: Add more keywords

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !912
2017-06-07 09:55:54 -04:00
Brad King cc1b513df1 Autogen: Do not use per-config file suffixes with VS yet
The change in commit v3.9.0-rc1~42^2~1 (Autogen: Per-config file
suffixes, 2017-05-15) broke Visual Studio builds because the generators
do not yet fully support per-config sources.  Disable the behavior on
Visual Studio generators for now.

Fixes: #16939
2017-06-07 09:41:49 -04:00
Kitware Robot 9530f41029 CMake Nightly Date Stamp 2017-06-07 00:01:07 -04:00
Brad King 5f8271962b Merge branch 'FindGTest-main-debug' into release-3.9 2017-06-06 09:05:23 -04:00
Brad King df18cd1dd5 FindGTest: Add gtestd_main variant of debug library
Current distributions name the debug library variant as `gtestd_main`
rather than `gtest_maind`.

Fixes: #16940
2017-06-06 09:05:17 -04:00
Brad King 56136e6315 Merge branch 'fix-vs2017-featuredetect' into release-3.9 2017-06-06 08:59:55 -04:00
Walter Gray f4ce396254 C++ feature checks: Do not match "0 Warning(s)" as a warning
The change in commit v3.9.0-rc1~6^2~1 (C++ feature checks: check output
for '[Ww]arning', 2017-06-03) accidentally matches `0 Warning(s)` in the
output and always thinks a warning exists, thus failing all checks in
Visual Studio builds.

Fixes: #16942
2017-06-06 08:55:43 -04:00
Kitware Robot 1c9ff4a964 CMake Nightly Date Stamp 2017-06-06 00:01:06 -04:00
Florian Maushart e7869e80ce cmake_host_system_information: Add more keywords
Extend the `cmake_host_system_information()` command to add processor
identification keywords.
2017-06-05 13:51:30 -04:00
Brad King c095e90f3a Begin post-3.9 development 2017-06-05 10:41:19 -04:00
Brad King fc812c0dcb Merge branch 'release-3.9' 2017-06-05 10:40:18 -04:00
Brad King 344f9ed96a CMake 3.9.0-rc1 version update v3.9.0-rc1 2017-06-05 10:32:40 -04:00
Brad King 9450d13099 Help: Drop development topic notes to prepare release
Release versions do not have the development topic section of
the CMake Release Notes index page.
2017-06-05 10:31:50 -04:00
Brad King d025faf436 Merge topic 'doc-3.9-relnotes'
945cb9aa Help: Organize and revise 3.9 release notes
7bc26430 Help: Consolidate 3.9 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !926
2017-06-05 10:22:15 -04:00
Brad King c26c69498e Merge topic 'doc-dev-maint'
a44d3cc6 Help/dev: Add release branch creation to maintainer guide
4e52809e Help/dev: Add a CMake Maintainer Guide document
c913ab61 Utilities/Release: Add script to consolidate release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !925
2017-06-05 10:18:40 -04:00
Brad King 2d3d88f3bb Merge topic 'GoogleTest-disabled-tests'
92bbb706 GoogleTest: Add support for disabled tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !920
2017-06-05 10:16:39 -04:00
Chuck Atkins 92bbb70695 GoogleTest: Add support for disabled tests
Fixes: #10612
2017-06-05 10:11:08 -04:00
Brad King c6ea3f01c3 Merge topic 'lint-function-args'
b1ec5dea Pass large types by const&, small types by value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !927
2017-06-05 09:44:24 -04:00
Brad King 8a68a2ceb3 Merge topic 'cm_fallthrough'
8d7b3ef5 Provide and use CM_FALLTHROUGH
0068224f C++ feature checks: check output for '[Ww]arning'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !924
2017-06-05 09:43:51 -04:00
Brad King 00639f2d5d Merge topic 'test-GNUInstallDirs-FreeBSD'
913736f1 Tests: Fix RunCMake.GNUInstallDirs on BSD platforms

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !921
2017-06-05 09:42:36 -04:00
Brad King 5875140c57 Merge topic 'display-ctest-disabled'
f59d729c ctest: Display disabled status when ctest -N is called

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !923
2017-06-05 09:41:53 -04:00
Kitware Robot 1fa165359f CMake Nightly Date Stamp 2017-06-05 00:01:03 -04:00
Kitware Robot 7ff29fb379 CMake Nightly Date Stamp 2017-06-04 00:01:04 -04:00
Daniel Pfeifer b1ec5deaf1 Pass large types by const&, small types by value 2017-06-04 00:48:21 +02:00