diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index 03992addea87771f1642a269208bd693798c8025..77e91565cd4bfc2dd4a84c6e247ff0c88b8508be 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 0000000000000000000000000000000000000000..d3f6a68173a73a1e3eefb9c6d4228497c9c1073b --- /dev/null +++ b/bsp/simulator/template.vcproj @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +