mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-17 04:31:04 -06:00
UseSWIG: Add target language and input file in command description
This commit is contained in:
@@ -485,7 +485,7 @@ function(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
|
|||||||
MAIN_DEPENDENCY "${swig_source_file_fullname}"
|
MAIN_DEPENDENCY "${swig_source_file_fullname}"
|
||||||
DEPENDS ${swig_dependencies}
|
DEPENDS ${swig_dependencies}
|
||||||
IMPLICIT_DEPENDS CXX "${swig_source_file_fullname}"
|
IMPLICIT_DEPENDS CXX "${swig_source_file_fullname}"
|
||||||
COMMENT "Swig source"
|
COMMENT "Swig compile ${infile} for ${SWIG_MODULE_${name}_SWIG_LANGUAGE_FLAG}"
|
||||||
COMMAND_EXPAND_LISTS)
|
COMMAND_EXPAND_LISTS)
|
||||||
set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files}
|
set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files}
|
||||||
PROPERTIES GENERATED 1)
|
PROPERTIES GENERATED 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user