21 lines
355 B
Python
21 lines
355 B
Python
import os
|
|
from building import *
|
|
|
|
# get current dir path
|
|
cwd = GetCurrentDir()
|
|
|
|
# init src and inc vars
|
|
src = []
|
|
inc = []
|
|
|
|
# add librws common include
|
|
inc = inc + [cwd]
|
|
|
|
# add librws basic code
|
|
src = src + Glob('*.c')
|
|
|
|
# add group to IDE project
|
|
objs = DefineGroup('librws_example', src, depend = ['LIBRWS_USING_EXAMPLE'], CPPPATH = inc)
|
|
|
|
Return('objs')
|