diff options
author | Brad King <brad.king@kitware.com> | 2018-10-30 14:56:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-10-30 14:57:45 (GMT) |
commit | 4c669a0a34569e5276b8dca47165657aad68cade (patch) | |
tree | dd616a7dde14b69024c0f7707567cceaeb4d39da /Modules/UseSWIG.cmake | |
parent | 263afbad64588eb896452cd85546a07321e9db92 (diff) | |
parent | 2fc43415efe5cc78fd39e0f600f7fa70dc18b760 (diff) | |
download | CMake-4c669a0a34569e5276b8dca47165657aad68cade.zip CMake-4c669a0a34569e5276b8dca47165657aad68cade.tar.gz CMake-4c669a0a34569e5276b8dca47165657aad68cade.tar.bz2 |
Merge topic 'UseSWIG-typos'
2fc43415ef UseSWIG: Add target language and input file in command description
20fd16e756 UseSWIG: Typo, add missing letter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2542
Diffstat (limited to 'Modules/UseSWIG.cmake')
-rw-r--r-- | Modules/UseSWIG.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index c94d8c6..d9a0389 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -122,7 +122,7 @@ ensure generated files will receive the required settings. If set to ``TRUE``, contents of target property :prop_tgt:`INCLUDE_DIRECTORIES` will be forwarded to ``SWIG`` compiler. If set to ``FALSE`` target property :prop_tgt:`INCLUDE_DIRECTORIES` will be - ignored. If not set, target property ``SWIG_USE_TARGT_INCLUDE_DIRECTORIES`` + ignored. If not set, target property ``SWIG_USE_TARGET_INCLUDE_DIRECTORIES`` will be considered. ``GENERATED_INCLUDE_DIRECTORIES``, ``GENERATED_COMPILE_DEFINITIONS`` and ``GENERATED_COMPILE_OPTIONS`` @@ -492,7 +492,7 @@ function(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile) MAIN_DEPENDENCY "${swig_source_file_fullname}" DEPENDS ${swig_dependencies} IMPLICIT_DEPENDS CXX "${swig_source_file_fullname}" - COMMENT "Swig source" + COMMENT "Swig compile ${infile} for ${SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG}" COMMAND_EXPAND_LISTS) set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files} PROPERTIES GENERATED 1) |