SConscript 323 B

123456789101112131415
  1. Import('rtconfig')
  2. from building import *
  3. cwd = GetCurrentDir()
  4. src = []
  5. path = [cwd + '/inc']
  6. libs = []
  7. libpath = [cwd + '/libs']
  8. if rtconfig.CROSS_TOOL == 'gcc':
  9. libs += ['FTP_gcc']
  10. group = DefineGroup('FTP', src, depend = ['ART_PI_USING_FTP_LIB'], CPPPATH = path, LIBS = libs, LIBPATH = libpath)
  11. Return('group')