Brad King
c5eb21b6d1
Fix dependency scanning configuration in subdirectories
...
Refactoring in commit v3.5.0-rc1~347^2~2 (Set the current dirs on the
snapshot before creating the cmMakefile) accidentally changed the
source and binary directories configured in `cmake -E cmake_depends`
for use during dependency scanning. This can cause the wrong directory
information to be loaded. It also breaks Fortran module dependency
scanning for modules provided by targets in subdirectories that do
not have Fortran_MODULE_DIRECTORY set.
Fix the dependency scanning directory configuration and add a test to
cover the Fortran module case in which the breakage was observed.
Reported-by: Kelly Thompson <kgt@lanl.gov>
2016-02-05 09:26:44 -05:00
Brad King
a5a5a68572
Merge topic 'doc-3.5-relnotes'
...
ad701d9f
Help: Organize and revise 3.5 release notes
377a12b2
Help: Consolidate 3.5 release notes
2016-02-02 08:33:25 -05:00
Brad King
570e84b44b
Merge topic 'remove-stray-semicolon'
...
ccb2d5c0
cmAlgorithms.h: remove superfluous semicolon after method
2016-02-02 08:33:23 -05:00
Brad King
f8e5e5bb03
Merge topic 'fix-CMAKE_MATCH-self-match'
...
6ffc4323
cmConditionEvaluator: Fix matching of `CMAKE_MATCH_*` values (#15944 )
2016-02-02 08:33:20 -05:00
Kitware Robot
6a230df636
CMake Nightly Date Stamp
2016-02-02 00:01:05 -05:00
Brad King
ad701d9f01
Help: Organize and revise 3.5 release notes
...
Add section headers similar to the 3.4 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2016-02-01 13:38:36 -05:00
Brad King
377a12b2d2
Help: Consolidate 3.5 release notes
...
Move all development release notes into a new version-specific document:
tail -q -n +3 Help/release/dev/* > Help/release/3.5.rst
git rm -- Help/release/dev/*
except the sample topic:
git checkout HEAD -- Help/release/dev/0-sample-topic.rst
Reference the new document from the release notes index document.
Add a title and intro sentence to the new document by hand.
2016-02-01 12:50:43 -05:00
Christoph Grüninger
ccb2d5c07f
cmAlgorithms.h: remove superfluous semicolon after method
2016-02-01 10:47:25 -05:00
Brad King
adc3d1244b
Merge topic 'doc-cmake-developer-typo'
...
6f83db1c
Help: Fix typo in `cmake-developer(7)` manual
2016-02-01 10:43:57 -05:00
Brad King
5ee96fc272
Merge topic 'FindGit-updates'
...
fa78ee97
FindGit: Improve documentation formatting
facfb52c
FindGit: Document Git_FOUND, unset internal var
2016-02-01 10:43:54 -05:00
Brad King
c022b6f686
Merge topic 'clarify-add_custom_command-TARGET-scope'
...
d257d681
add_custom_command: Clarify error when TARGET is out of scope (#15681 )
4d53e0a7
Help: Clarify `add_custom_command(TARGET)` scope (#15681 )
8c615af4
Help: Clarify policy `CMP0040` documentation (#15681 )
63c5808f
Help: Clarify scope of `if(TARGET)` expression
a336e438
Help: Improve markup in `if` command documentation
88968265
Help: Improve markup in `get_target_property` documentation
2016-02-01 10:43:51 -05:00
Prayag Verma
6f83db1cc1
Help: Fix typo in `cmake-developer(7)` manual
...
Fix spelling mistake `sytem` => `system`.
2016-02-01 10:36:25 -05:00
Brad King
6ffc432367
cmConditionEvaluator: Fix matching of `CMAKE_MATCH_*` values ( #15944 )
...
While evaluating `if(MATCHES)` we get a `const char*` pointer to the
string to be matched. On code like
if(CMAKE_MATCH_COUNT MATCHES "Y")
the string to be matched may be owned by our own result variables.
We must move the value to our own buffer before clearing them.
Otherwise we risk reading freed storage.
2016-02-01 10:05:10 -05:00
Kitware Robot
e18d0df5ed
CMake Nightly Date Stamp
2016-02-01 00:01:03 -05:00
Kitware Robot
13b4ef24e1
CMake Nightly Date Stamp
2016-01-31 00:01:03 -05:00
Kitware Robot
f270404a3d
CMake Nightly Date Stamp
2016-01-30 00:01:03 -05:00
Kitware Robot
76a51dfab8
CMake Nightly Date Stamp
2016-01-29 00:01:04 -05:00
Brad King
d257d68138
add_custom_command: Clarify error when TARGET is out of scope ( #15681 )
...
The add_custom_command(TARGET) signature only works for targets defined
in the current directory. Clarify this in the error message when the
target exists but was defined elsewhere.
Inspired-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2016-01-28 10:33:26 -05:00
Bartosz Kosiorek
4d53e0a75e
Help: Clarify `add_custom_command(TARGET)` scope ( #15681 )
2016-01-28 10:13:27 -05:00
Bartosz Kosiorek
8c615af4df
Help: Clarify policy `CMP0040` documentation ( #15681 )
...
State explicitly that the target must be defined in the current
directory. While at it, improve markup formatting.
2016-01-28 10:13:18 -05:00
Bartosz Kosiorek
63c5808f93
Help: Clarify scope of `if(TARGET)` expression
2016-01-28 10:13:17 -05:00
Bartosz Kosiorek
a336e438e2
Help: Improve markup in `if` command documentation
2016-01-28 10:12:51 -05:00
Bartosz Kosiorek
88968265e2
Help: Improve markup in `get_target_property` documentation
2016-01-28 10:12:50 -05:00
Kitware Robot
5335d27552
CMake Nightly Date Stamp
2016-01-28 00:01:04 -05:00
Brad King
656768cffe
Merge topic 'UseJava-fix-doc-typo'
...
1053db7b
UseJava: Fix documented name of `CLASSDIR` property (#15936 )
2016-01-27 09:47:57 -05:00
Brad King
fa78ee97ff
FindGit: Improve documentation formatting
2016-01-27 09:26:27 -05:00
Christoph Grüninger
facfb52c9f
FindGit: Document Git_FOUND, unset internal var
...
* Git is called Git, not git.
* FindGit sets Git_FOUND, too.
* Unset internal variable git_names
2016-01-27 09:21:56 -05:00
Kitware Robot
30e294f68f
CMake Nightly Date Stamp
2016-01-27 00:01:03 -05:00
Brad King
1053db7b0c
UseJava: Fix documented name of `CLASSDIR` property ( #15936 )
...
It is not `CLASS_DIR`.
2016-01-26 09:27:21 -05:00
Kitware Robot
e7eab0ec40
CMake Nightly Date Stamp
2016-01-26 00:01:13 -05:00
Brad King
c4e1bc6ed2
Merge branch 'release'
2016-01-25 13:23:05 -05:00
Brad King
0aef6f2412
CMake 3.4.3
2016-01-25 09:50:47 -05:00
Brad King
f9cc671364
Merge branch 'release'
2016-01-25 09:49:53 -05:00
Brad King
0586f1798e
Merge topic 'vs-win10-sdk'
...
d7e863c1
VS: Do not fail on Windows 10 with VS 2015 if no SDK is available (#15929 )
2016-01-25 09:47:11 -05:00
Brad King
9722f8f9a5
Merge topic 'FindBoost-1.61'
...
b94e855d
FindBoost: Add support for Boost 1.61
2016-01-25 09:47:08 -05:00
Kitware Robot
b9dadca90b
CMake Nightly Date Stamp
2016-01-25 00:01:03 -05:00
Kitware Robot
490483b947
CMake Nightly Date Stamp
2016-01-24 00:01:03 -05:00
Kitware Robot
4a3fa1e8a0
CMake Nightly Date Stamp
2016-01-23 00:01:04 -05:00
Brad King
1d9c539cf7
Merge topic 'test-fltk_wrap_ui'
...
f98ae28e
Tests: Cover fltk_wrap_ui on an executable that links libraries
2016-01-22 09:25:36 -05:00
Brad King
ddb09ec8f9
Merge topic 'FindPNG-imported-targets'
...
9b08c623
FindPNG: Create an imported PNG::PNG target (#15911 )
2016-01-22 09:25:33 -05:00
Brad King
dcf977ea1a
Merge topic 'fix-use-generator-target'
...
7dbfdddf
cmExportInstallFileGenerator: Fix crash in FindNamespaces
2016-01-22 09:25:30 -05:00
Brad King
666487a402
Merge topic 'fix-pkg_search_module-cache'
...
40249bcc
FindPkgConfig: set standard variables in the cache
2016-01-22 09:25:27 -05:00
Sergei Nikulov
b94e855d5f
FindBoost: Add support for Boost 1.61
2016-01-22 08:35:04 -05:00
Kitware Robot
f81ccc5753
CMake Nightly Date Stamp
2016-01-22 00:01:03 -05:00
Sam Thursfield
9b08c62330
FindPNG: Create an imported PNG::PNG target ( #15911 )
...
Imported targets are now the recommended way of dealing with external
library dependencies. Add one for FindPNG and update documentation
accordingly. Also add a test case activated by CMake_TEST_FindPNG.
2016-01-21 13:58:15 -05:00
Brad King
3e7794a2e6
Merge topic 'reduce-allocations'
...
70788e92
Remove temporary allocations when calling cmHasLiteral{Suf,Pre}fix.
bd2384f5
Optimize cmMakefile::ExpandVariablesInStringNew.
ad9394f4
Remove temporary allocations in cmMacroHelper::InvokeInitialPass.
f9599ed4
Remove temporary allocations by extending the lifetime of the retval.
275f2a85
Remove temporary allocations when calling cmGeneratorTarget::GetName.
2016-01-21 13:55:53 -05:00
Brad King
aaf06f2b0f
Merge topic 'add-FindXalanC'
...
f9e45ab9
FindXalanC: New module to find the Apache Xalan-C++ library
2016-01-21 13:55:50 -05:00
Brad King
563a6c7be0
Merge topic 'cmake-E-time-quoting'
...
1787269e
cmake: Fix `-E time` argument passing to child
2016-01-21 13:55:47 -05:00
Brad King
071c94eeac
Merge topic 'ExternalProject-ctest-config'
...
ec00e89e
ExternalProject: Fix TEST_BEFORE_INSTALL for multi-config generators
5d739a3c
ExternalProject: Simplify `cmake --build` configuration passing
2016-01-21 13:55:44 -05:00
Brad King
184676532c
Merge topic 'GetPrerequisites-ms-ucrt'
...
c8daac35
GetPrerequisites: Define api-ms-win-* files as system libraries (#15691 )
2016-01-21 13:55:41 -05:00