aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2018-06-08 18:09:11 +0100
committerPeter Wu <peter@lekensteyn.nl>2018-06-11 17:01:05 +0000
commit722d6b06f606bc045ecef6fe5c8f2c700a3dad65 (patch)
tree4af9a6ad87cd46ff92e7be1b4fb956900bacd30e /cmake/modules
parentbfb7028ba971deb2d3edf7f573b3183ef67ce5c2 (diff)
Rewrite make-{dissectors,taps} in Python
Having these build tools in machine code poses problems when cross-compiling. The most significant being that we need to find the host and build GLiB dependencies at compile-time. There is no noticeable speed difference between the Python and C implementation. Ping-Bug: 14622 Change-Id: Id13f823c7f4abf51edfa291e703028873748989f Reviewed-on: https://code.wireshark.org/review/28130 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/UseMakeTaps.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/UseMakeTaps.cmake b/cmake/modules/UseMakeTaps.cmake
index 18efdfc9e1..aed93183ce 100644
--- a/cmake/modules/UseMakeTaps.cmake
+++ b/cmake/modules/UseMakeTaps.cmake
@@ -5,9 +5,9 @@ MACRO(REGISTER_TAP_FILES _outputfile)
OUTPUT
${_outputfile}
COMMAND
- make-taps ${_outputfile} ${_sources}
+ ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tools/make-regs.py taps ${_outputfile} ${_sources}
DEPENDS
- make-taps
+ ${CMAKE_SOURCE_DIR}/tools/make-regs.py
${_sources}
COMMENT
"Making ${_outputfile}"