CMake Nightly Date Stamp
CMake Nightly Date Stamp
add missing fclose()

Spotted by sevenhill.
Merge topic 'missing-fclose-in-trycompile' into next

3e7203e add missing fclose()
201db26 CMake Nightly Date Stamp
51e4424 CMake Nightly Date Stamp
try_compile: add missing fclose() to recently added error case

In commit 236133e7 (Handle targets in the LINK_LIBRARIES of try_compile,
2013-02-09) an error return case was added without closing the file in
progress.  Add the missing fclose() call.

Spotted by sevenhill.
Merge topic 'missing-fclose-in-trycompile' into next

ce441fa try_compile: add missing fclose() to recently added error case
get_filename_component: Document path components more clearly (#14091)

Organize component names in a table to explain each in more detail.
Clearly state that PATH is the directory name.
get_filename_component: Add explicit unit tests

Add test RunCMake.get_filename_component to cover cases of the command.
Remove redundant coverage of these cases from the "complex" tests.
get_filename_component: Add DIRECTORY option (#14091)

The name "PATH" is not precise so add equivalent option "DIRECTORY".
Document the latter as preferred and the former as a legacy alias.
Merge topic 'improve-get_filename_component-names' into next

7d1590e get_filename_component: Add DIRECTORY option (#14091)
ec1ba9b get_filename_component: Add explicit unit tests
df71f96 get_filename_component: Document path components more clearly (#14091)