solution for [ Issue 1033 ] by Nicolas Mercier

This commit is contained in:
Thomas Nagy 2011-10-15 16:26:05 +02:00
parent b283f54c08
commit 07fb78a9bf
1 changed files with 6 additions and 5 deletions

View File

@ -180,7 +180,7 @@ FILTER_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?>
PROJECT_2008_TEMPLATE = r'''<?xml version="1.0" encoding="UTF-8"?> PROJECT_2008_TEMPLATE = r'''<?xml version="1.0" encoding="UTF-8"?>
<VisualStudioProject ProjectType="Visual C++" Version="9,00" <VisualStudioProject ProjectType="Visual C++" Version="9,00"
Name="${xml: project.name}" ProjectGUID="{${project.uuid}}" Name="${xml: project.name}" ProjectGUID="{${project.uuid}}"
RootNamespace="" Keyword="MakeFileProj" Keyword="MakeFileProj"
TargetFrameworkVersion="196613"> TargetFrameworkVersion="196613">
<Platforms> <Platforms>
${if project.build_properties} ${if project.build_properties}
@ -198,21 +198,22 @@ PROJECT_2008_TEMPLATE = r'''<?xml version="1.0" encoding="UTF-8"?>
${for b in project.build_properties} ${for b in project.build_properties}
<Configuration <Configuration
Name="${xml: b.configuration}|${xml: b.platform}" Name="${xml: b.configuration}|${xml: b.platform}"
IntermediateDirectory="$ConfigurationName"
OutputDirectory="${xml: b.outdir}" OutputDirectory="${xml: b.outdir}"
ConfigurationType="0" ConfigurationType="0">
InheritedPropertySheets="">
<Tool <Tool
Name="VCNMakeTool" Name="VCNMakeTool"
BuildCommandLine="${xml: project.get_build_command(b)}" BuildCommandLine="${xml: project.get_build_command(b)}"
ReBuildCommandLine="${xml: project.get_rebuild_command(b)}" ReBuildCommandLine="${xml: project.get_rebuild_command(b)}"
CleanCommandLine="${xml: project.get_clean_command(b)}" CleanCommandLine="${xml: project.get_clean_command(b)}"
${if getattr(b, 'output_file', None)} ${if getattr(b, 'output_file', None)}
OutPut="${xml: b.output_file}" Output="${xml: b.output_file}"
${endif} ${endif}
PreprocessorDefinitions="${xml: b.preprocessor_definitions}" PreprocessorDefinitions="${xml: b.preprocessor_definitions}"
IncludeSearchPath="${xml: b.includes_search_path}" IncludeSearchPath="${xml: b.includes_search_path}"
ForceIncludes="" ForcedIncludes=""
ForcedUsingAssemblies="" ForcedUsingAssemblies=""
AssemblySearchPath=""
CompileAsManaged="" CompileAsManaged=""
/> />
</Configuration> </Configuration>