summaryrefslogtreecommitdiff
path: root/examples/utest/testcases/posix/dirent_h/SConscript
blob: 5dda6b01318e7dce55e49faefd4a334a502adaed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import rtconfig
Import('RTT_ROOT')
from building import *

# get current directory
cwd = GetCurrentDir()
path = [cwd]
src = []

if GetDepend('RTT_POSIX_TESTCASE_DIRENT_H'):
    src += Glob('./definitions/*.c')

if GetDepend('DIRENT_H_OPENDIR_READDIR_CLOSEDIR'):
    src += Glob('./functions/open_read_close_dir_tc.c')


group = DefineGroup('rtt_posix_testcase', src, depend = ['RTT_POSIX_TESTCASE_DIRENT_H'], CPPPATH = path)

Return('group')