SConscript 355 B

123456789101112131415
  1. from building import *
  2. Import('rtconfig')
  3. src = []
  4. cwd = GetCurrentDir()
  5. # add ncnn include path.
  6. if GetDepend('ARCH_ARMV8'):
  7. path = [cwd + '/include']
  8. lib_path = [cwd + '/lib']
  9. # add src and include to group.
  10. group = DefineGroup('ncnn', src, depend = ['PKG_USING_NCNN'], CPPPATH = path, LIBS = ['ncnn'], LIBPATH=lib_path)
  11. Return('group')