diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index 03992adde..77e91565c 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 000000000..d3f6a6817 --- /dev/null +++ b/bsp/simulator/template.vcproj @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +