diff options
author | FeRD (Frank Dana) <ferdnyc@gmail.com> | 2022-06-06 15:38:27 (GMT) |
---|---|---|
committer | FeRD (Frank Dana) <ferdnyc@gmail.com> | 2022-06-06 16:27:11 (GMT) |
commit | e52b9e127053fa404d964ee2df1ab3915fc43565 (patch) | |
tree | 687110280f29dc4b7dabe76094743bd1cbbcd4c1 /Modules | |
parent | d87ed4d88fb3dce4eca55d6cfc512f7769ac1bd8 (diff) | |
download | CMake-e52b9e127053fa404d964ee2df1ab3915fc43565.zip CMake-e52b9e127053fa404d964ee2df1ab3915fc43565.tar.gz CMake-e52b9e127053fa404d964ee2df1ab3915fc43565.tar.bz2 |
PrintHelpers: Document argument order restriction
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakePrintHelpers.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/CMakePrintHelpers.cmake b/Modules/CMakePrintHelpers.cmake index 1a623db..6d6355c 100644 --- a/Modules/CMakePrintHelpers.cmake +++ b/Modules/CMakePrintHelpers.cmake @@ -19,7 +19,10 @@ e.g. for debugging. This function prints the values of the properties of the given targets, source files, directories, tests or cache entries. Exactly one of the -scope keywords must be used. Example:: +scope keywords must be used. The scope keyword and its arguments must +come before the ``PROPERTIES`` keyword, in the arguments list. + +Example:: cmake_print_properties(TARGETS foo bar PROPERTIES LOCATION INTERFACE_INCLUDE_DIRECTORIES) |