UseSWIG: Add target language and input file in command description

This commit is contained in:
Sylvain Joubert
2018-10-29 15:08:08 +01:00
parent 20fd16e756
commit 2fc43415ef

View File

@@ -485,7 +485,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)