From 806ecbbb2b8fbe135626045ec52c665969e82e3f Mon Sep 17 00:00:00 2001 From: "goprife@gmail.com" Date: Sun, 21 Oct 2012 04:42:49 +0000 Subject: [PATCH] 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 --- libcpu/SConscript | 3 +++ 1 file changed, 3 insertions(+) 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)