minor build correction

This commit is contained in:
gladman 2011-12-18 17:41:00 +00:00
parent 164adcb45c
commit c9765f1946
2 changed files with 13 additions and 20 deletions

View File

@ -53,12 +53,12 @@
<ProgramDataBaseFileName>$(TargetDir)$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PostBuildEvent>
<Command>if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
</PostBuildEvent>
<PostBuildEvent>
<Command>cd ..\
postbuild "$(TargetPath)"
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
@ -70,12 +70,12 @@ copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
<ProgramDataBaseFileName>$(TargetDir)$(TargetName).pdb</ProgramDataBaseFileName>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<PostBuildEvent>
<Command>if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
</PostBuildEvent>
<PostBuildEvent>
<Command>cd ..\
postbuild "$(TargetPath)"
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\config.h" />

View File

@ -433,15 +433,8 @@ postbuild "$(TargetPath)"
</Command>
</PostBuildEvent>
'''
f2 = '''
<PostBuildEvent>
<Command>if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
</PostBuildEvent>
'''
outf.write(f2 if is_cpp else f1)
outf.write(f1)
def vcx_tool_options(config, plat, is_dll, is_cpp, af_list, outf):