Wireshark-commits: [Wireshark-commits] master cc8ed84: Invoke asn2wrs.py using a custom command
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cc8ed845ed53ed60fa776728f1d7f2659dd311a3
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
cc8ed84 by Maarten Bezemer (maarten.bezemer@xxxxxxxxx):
Invoke asn2wrs.py using a custom command
A custom target is defined to be always invalid, so asn2wrs.py is always invoked.
A custom command is able to convert input file(s) into output file(s), the actual command is only invoked in the provided dependencies are changed.
As an advantage the dependencies are correct, so cmake is able to determine when the output file is required, so it can be build in time.
Change-Id: I84be5d408cfc87cf88d67b6073bea439febbe712
Reviewed-on: https://code.wireshark.org/review/5255
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from a1d4c0a Do not force the output directory
adds cc8ed84 Invoke asn2wrs.py using a custom command
Summary of changes:
cmake/modules/UseAsn2Wrs.cmake | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)