Files
StarPilot/tools/clib/SConscript
T
Dean Lee 9159291a09 ui/replay: file extensions to .cc and .h (#20805)
old-commit-hash: bdf4a94cd03746e498d21d8224e625135632b1c3
2021-05-03 20:22:32 -07:00

9 lines
290 B
Python

Import('env')
from sysconfig import get_paths
env['CPPPATH'] += [get_paths()['include']]
from Cython.Build import cythonize
cythonize("cframereader.pyx")
env.SharedLibrary(File('cframereader.so'), ['cframereader.cpp', 'FrameReader.cc'], LIBS=['avformat', 'avcodec', 'avutil', 'swscale'])