HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / cmake / modules / UseMakeDissectorReg.cmake
blob384030b125f4117080873e9d52e7bd5630d96d68
2 # $Id$
4 MACRO(REGISTER_DISSECTOR_FILES _outputfile _registertype )
5         set( _sources ${ARGN} )
6         ADD_CUSTOM_COMMAND(
7             OUTPUT
8               ${_outputfile}
9             COMMAND ${PYTHON_EXECUTABLE}
10               ${CMAKE_SOURCE_DIR}/tools/make-dissector-reg.py
11               ${CMAKE_CURRENT_SOURCE_DIR}
12               ${_registertype}
13               ${_sources}
14             DEPENDS
15               ${_sources}
16               ${CMAKE_SOURCE_DIR}/tools/make-dissector-reg
17               ${CMAKE_SOURCE_DIR}/tools/make-dissector-reg.py
18         )
19 ENDMACRO(REGISTER_DISSECTOR_FILES)