summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2019-03-09 00:53:22 +0100
committerAndrej Rode <mail@andrejro.de>2019-03-13 16:18:59 +0100
commitd5e0b4b82aa2f08030d391cc878698295e525b4a (patch)
tree5440a911985e9f96cc61204f3df70388e52e8c76
parentb4a88a5a32bb7217ca3508ad0f3aff97cefda035 (diff)
SWIG: Output SWIG source being parsed file during build
This is mainly beauty. It does come in handy when one fiddles with the SWIGs too much and needs to figure out which .i broke.
-rw-r--r--cmake/Modules/UseSWIG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/UseSWIG.cmake b/cmake/Modules/UseSWIG.cmake
index 302e8f370e..015d9804bf 100644
--- a/cmake/Modules/UseSWIG.cmake
+++ b/cmake/Modules/UseSWIG.cmake
@@ -434,7 +434,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 source ${infile}"
COMMAND_EXPAND_LISTS)
set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files}
PROPERTIES GENERATED 1)