summaryrefslogtreecommitdiff
path: root/bsp/simulator/SConstruct
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-07 05:32:29 +0000
committer[email protected] <[email protected]>2012-11-07 05:32:29 +0000
commit8cdbed763da559854d73f2e175594c4e75e49c35 (patch)
tree6cbf8e50d55d97cfff41d00b2a10c37f7f6deebe /bsp/simulator/SConstruct
parent3ebcb76a978817471276b10c7cbde0d4ef4a22f9 (diff)
add template.vcproj for bsp/simulator; modify SConstruct for auto-generation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2396 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/simulator/SConstruct')
-rw-r--r--bsp/simulator/SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct
index 03992addea..77e91565cd 100644
--- a/bsp/simulator/SConstruct
+++ b/bsp/simulator/SConstruct
@@ -35,10 +35,18 @@ uuid
odbc32
odbccp32
''')
+definitions = Split('''
+WIN32
+_DEBUG
+_CONSOLE
+MSVC
+_TIME_T_DEFINED
+''')
env.Append(CCFLAGS=rtconfig.CFLAGS)
env.Append(LINKFLAGS=rtconfig.LFLAGS)
env['LIBS']=libs
+env['CPPDEFINES']=definitions
objs = PrepareBuilding(env, RTT_ROOT)