浏览代码

UseSWIG: Add target language and input file in command description

Sylvain Joubert 7 年之前
父节点
当前提交
2fc43415ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/UseSWIG.cmake

+ 1 - 1
Modules/UseSWIG.cmake

@@ -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)