diff options
| author | [email protected] <[email protected]> | 2012-10-21 04:42:49 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-10-21 04:42:49 +0000 |
| commit | 806ecbbb2b8fbe135626045ec52c665969e82e3f (patch) | |
| tree | a4b7378d676819ec5d96ffb3843dcee8df45f66a /libcpu/SConscript | |
| parent | c3b741d010b488f9051e8fca5fe49396f334c826 (diff) | |
update libcpu/SConscript to support cl(c compiler of visual studio)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2358 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu/SConscript')
| -rw-r--r-- | libcpu/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcpu/SConscript b/libcpu/SConscript index 9b5d30e046..a1609d5fd3 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -15,6 +15,9 @@ if rtconfig.PLATFORM == 'gcc': if rtconfig.PLATFORM == 'iar': src = Glob(path + '/*.c') + Glob(path + '/*_iar.S') + Glob(comm + '/*.c') +if rtconfig.PLATFORM == 'cl': + src = Glob(path + '/*.c') + CPPPATH = [RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/' + rtconfig.CPU, RTT_ROOT + '/libcpu/' + rtconfig.ARCH + '/common'] group = DefineGroup(rtconfig.CPU.upper(), src, depend = [''], CPPPATH = CPPPATH) |
