Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Tested-by: Felix DeGrood <felix.j.degrood@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25361>
action='append',
help="Include directory")
+ parser.add_argument("-D",
+ dest="defines",
+ default=[],
+ action='append',
+ help="Defines")
+
args = parser.parse_args()
return args
for f in args.includes:
cmd_list.append('-I' + f)
+ for d in args.defines:
+ cmd_list.append('-D' + d)
+
cmd_list.extend([
'-V',
'-o', args.output,