File: UseMakeTaps.cmake

package info (click to toggle)
wireshark 4.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 351,436 kB
  • sloc: ansic: 3,103,613; cpp: 129,736; xml: 100,978; python: 56,510; perl: 24,575; sh: 5,874; lex: 4,383; pascal: 4,304; makefile: 164; ruby: 113; objc: 91; tcl: 35
file content (15 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
MACRO(REGISTER_TAP_FILES _outputfile)
    set(_sources ${ARGN})
    ADD_CUSTOM_COMMAND(
        OUTPUT
          ${_outputfile}
        COMMAND
          ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/make-regs.py taps ${_outputfile} ${_sources}
        DEPENDS
          ${CMAKE_SOURCE_DIR}/tools/make-regs.py
          ${_sources}
        COMMENT
          "Making ${_outputfile}"
)
ENDMACRO(REGISTER_TAP_FILES)