diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /cmake/modules/UseMakeTaps.cmake | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cmake/modules/UseMakeTaps.cmake')
-rw-r--r-- | cmake/modules/UseMakeTaps.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cmake/modules/UseMakeTaps.cmake b/cmake/modules/UseMakeTaps.cmake new file mode 100644 index 0000000..56fd628 --- /dev/null +++ b/cmake/modules/UseMakeTaps.cmake @@ -0,0 +1,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) |