Skip to content

Instantly share code, notes, and snippets.

View ebraraktas's full-sized avatar

Mustafa Ebrar Aktaş ebraraktas

  • Istanbul, Turkey
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ebraraktas
ebraraktas / copy_headers.py
Last active January 4, 2021 10:19
Copy C or C++ include header dependencies recursively
# Example command:
# python copy_headers.py --headers tensorflow/lite/model.h tensorflow/lite/interpreter.h \
# --destination MyAwesomeProject/include
# --include-dirs ../flatbuffers/include # Note that these are relative to --source-dir
# --source-dir ../tensorflow/
import argparse
import os
import subprocess