From 8cdbed763da559854d73f2e175594c4e75e49c35 Mon Sep 17 00:00:00 2001 From: "goprife@gmail.com" Date: Wed, 7 Nov 2012 05:32:29 +0000 Subject: [PATCH] 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 --- bsp/simulator/SConstruct | 8 ++ bsp/simulator/template.vcproj | 196 ++++++++++++++++++++++++++++++++++ 2 files changed, 204 insertions(+) create mode 100644 bsp/simulator/template.vcproj 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) diff --git a/bsp/simulator/template.vcproj b/bsp/simulator/template.vcproj new file mode 100644 index 0000000000..d3f6a68173 --- /dev/null +++ b/bsp/simulator/template.vcproj @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab