diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-07-16 05:24:48 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-07-16 05:24:48 (GMT) |
commit | 4734372aa0c7ae481bb6b9de0b5c3f9323c670fd (patch) | |
tree | 256a901ba2990cd1427852a2c9a83fc0313fd003 /PCbuild/tcl.vcxproj | |
parent | 10c997ae9c522e323fe430ef67507376fad835b3 (diff) | |
download | cpython-4734372aa0c7ae481bb6b9de0b5c3f9323c670fd.zip cpython-4734372aa0c7ae481bb6b9de0b5c3f9323c670fd.tar.gz cpython-4734372aa0c7ae481bb6b9de0b5c3f9323c670fd.tar.bz2 |
Close #24508: Backport the 3.5 MSBuild project files.
The old project files move to PC/VS9.0 and remain supported.
VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
Diffstat (limited to 'PCbuild/tcl.vcxproj')
-rw-r--r-- | PCbuild/tcl.vcxproj | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/PCbuild/tcl.vcxproj b/PCbuild/tcl.vcxproj new file mode 100644 index 0000000..c19f53e --- /dev/null +++ b/PCbuild/tcl.vcxproj @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="PGInstrument|Win32"> + <Configuration>PGInstrument</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="PGInstrument|x64"> + <Configuration>PGInstrument</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="PGUpdate|Win32"> + <Configuration>PGUpdate</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="PGUpdate|x64"> + <Configuration>PGUpdate</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{B5FD6F1D-129E-4BFF-9340-03606FAC7283}</ProjectGuid> + </PropertyGroup> + + <Import Project="python.props" /> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <Import Project="tcltk.props" /> + + <PropertyGroup Label="Configuration"> + <ConfigurationType>Makefile</ConfigurationType> + <OutDir>$(tcltkDir)</OutDir> + <TargetPath>$(OutDir)bin\$(tclDLLName)</TargetPath> + </PropertyGroup> + + <ItemGroup> + <ExpectedOutputs Include=" + $(OutDir)\bin\$(tclDLLName); + $(OutDir)\bin\$(tclShExeName); + $(OutDir)\include\tcl.h; + $(OutDir)\lib\tcl$(TclMajorVersion); + $(OutDir)\lib\tcl$(TclMajorVersion).$(TclMinorVersion); + $(OutDir)\lib\$(tclLibName)" /> + </ItemGroup> + + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + + <PropertyGroup> + <TclOpts Condition="$(Configuration) == 'Debug'">symbols</TclOpts> + <TclDirs>INSTALLDIR="$(OutDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TclDirs> + <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUGFLAGS="-wd4456 -wd4457 -wd4458 -wd4459 -wd4996"</DebugFlags> + <NMakeBuildCommandLine>setlocal +@(ExpectedOutputs->'if not exist "%(FullPath)" goto build',' +') +goto :eof +:build +set VCINSTALLDIR=$(VCInstallDir) +cd /D "$(tclDir)win" +nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) core shell dlls +nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) install-binaries install-libraries +</NMakeBuildCommandLine> + </PropertyGroup> + + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + + <Target Name="CopyDll" Inputs="$(OutDir)\bin\$(tclDLLName)" Outputs="$(BuildPath)$(tclDLLName)" AfterTargets="Build"> + <Copy SourceFiles="$(OutDir)\bin\$(tclDLLName)" DestinationFiles="$(BuildPath)$(tclDLLName)" /> + </Target> + + <Target Name="Clean" /> + <Target Name="CleanAll"> + <Delete Files="$(TargetPath);$(BuildPath)$(tclDLLName)" /> + <RemoveDir Directories="$(IntDir)" /> + </Target> +</Project> |