diff options
| author | Bernard Xiong <[email protected]> | 2014-11-01 09:09:21 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-11-01 09:09:21 +0800 |
| commit | b84123b0b42f64a659b15887d196159d90b72810 (patch) | |
| tree | 264c0fd4b122e1882202bb83e9c0b8c92b90871f /components/cplusplus/SConscript | |
| parent | 0797e54f3f5b58e54012570d9a6ff9443d7610d8 (diff) | |
[C++] Add cplusplus component
Diffstat (limited to 'components/cplusplus/SConscript')
| -rw-r--r-- | components/cplusplus/SConscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/components/cplusplus/SConscript b/components/cplusplus/SConscript new file mode 100644 index 0000000000..eb95aaa3c2 --- /dev/null +++ b/components/cplusplus/SConscript @@ -0,0 +1,11 @@ +# RT-Thread building script for component + +from building import * + +cwd = GetCurrentDir() +src = Glob('*.cpp') +CPPPATH = [cwd] + +group = DefineGroup('CPlusPlus', src, depend = ['RT_USING_CPLUSPLUS'], CPPPATH = CPPPATH) + +Return('group') |
