niobe/third_party/HTTPClient/SConscript

27 lines
528 B
Python
Raw Permalink Normal View History

2021-09-22 21:52:48 +08:00
import os
import osconfig
from build_tools import *
pwd = PresentDir()
CPPPATH=[]
CPPDEFINES=[]
src = Split('''
src/http_application_api.c
src/http_client.c
src/http_form_data.c
oneos/http_oneos_wrapper.c
oneos/sample/http_sample_test.c
''')
CPPPATH += [pwd + '/include']
LOCAL_CCFLAGS = ''
if osconfig.CROSS_TOOL == 'keil':
LOCAL_CCFLAGS += ' --gnu'
group = AddCodeGroup('httpclient', src, depend = ['NET_USING_HTTPCLIENT'], CPPPATH = CPPPATH, LOCAL_CCFLAGS = LOCAL_CCFLAGS, CPPDEFINES = CPPDEFINES)
Return('group')