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

View File

@ -433,15 +433,8 @@ postbuild "$(TargetPath)"
</Command> </Command>
</PostBuildEvent> </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): def vcx_tool_options(config, plat, is_dll, is_cpp, af_list, outf):