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

@ -55,9 +55,9 @@
</ClCompile>
<PostBuildEvent>
<Command>if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
<Command>cd ..\
postbuild "$(TargetPath)"
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@ -72,9 +72,9 @@ copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
</ClCompile>
<PostBuildEvent>
<Command>if not exist ..\lib\$(IntDir) md ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).lib" ..\lib\$(IntDir)
copy "$(TargetDir)$(TargetName).pdb" ..\lib\$(IntDir) </Command>
<Command>cd ..\
postbuild "$(TargetPath)"
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

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):