blob: 70b5459a081c226b0e4c57239d18a4128e1c51d6 [file] [log] [blame]
Zachary Warea191b912014-03-21 22:58:19 -05001<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <ItemGroup Label="ProjectConfigurations">
4 <ProjectConfiguration Include="Debug|Win32">
5 <Configuration>Debug</Configuration>
6 <Platform>Win32</Platform>
7 </ProjectConfiguration>
Steve Dower65e4cb12014-11-22 12:54:57 -08008 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
Zachary Warea191b912014-03-21 22:58:19 -050011 </ProjectConfiguration>
12 <ProjectConfiguration Include="PGInstrument|Win32">
13 <Configuration>PGInstrument</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="PGInstrument|x64">
17 <Configuration>PGInstrument</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
20 <ProjectConfiguration Include="PGUpdate|Win32">
21 <Configuration>PGUpdate</Configuration>
22 <Platform>Win32</Platform>
23 </ProjectConfiguration>
24 <ProjectConfiguration Include="PGUpdate|x64">
25 <Configuration>PGUpdate</Configuration>
26 <Platform>x64</Platform>
27 </ProjectConfiguration>
Steve Dower65e4cb12014-11-22 12:54:57 -080028 <ProjectConfiguration Include="Debug|x64">
29 <Configuration>Debug</Configuration>
30 <Platform>x64</Platform>
Zachary Warea191b912014-03-21 22:58:19 -050031 </ProjectConfiguration>
32 <ProjectConfiguration Include="Release|x64">
33 <Configuration>Release</Configuration>
34 <Platform>x64</Platform>
35 </ProjectConfiguration>
36 </ItemGroup>
37 <PropertyGroup Label="Globals">
38 <ProjectGuid>{7E85ECCF-A72C-4DA4-9E52-884508E80BA1}</ProjectGuid>
39 <RootNamespace>tk</RootNamespace>
Zachary Warea191b912014-03-21 22:58:19 -050040 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080041
42 <Import Project="python.props" />
Zachary Warea191b912014-03-21 22:58:19 -050043 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080044 <Import Project="tcltk.props" />
45
46 <PropertyGroup Label="Configuration">
Zachary Warea191b912014-03-21 22:58:19 -050047 <ConfigurationType>Makefile</ConfigurationType>
Steve Dower65e4cb12014-11-22 12:54:57 -080048 <OutDir>$(tcltkDir)</OutDir>
49 <TargetPath>$(OutDir)bin\$(tkDLLName)</TargetPath>
Zachary Warea191b912014-03-21 22:58:19 -050050 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080051
Zachary Warea191b912014-03-21 22:58:19 -050052 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080053
Zachary Warea191b912014-03-21 22:58:19 -050054 <PropertyGroup>
Steve Dowerfcbe1df2015-09-08 21:39:01 -070055 <TkOpts>msvcrt</TkOpts>
56 <TkOpts Condition="$(Configuration) == 'Debug'">symbols,msvcrt</TkOpts>
Steve Dower5d578442017-09-06 13:55:42 -070057 <TkDirs>BUILDDIRTOP="$(BuildDirTop)" TCLDIR="$(tclDir.TrimEnd(`\`))" INSTALLDIR="$(OutDir.TrimEnd(`\`))"</TkDirs>
Steve Dower65e4cb12014-11-22 12:54:57 -080058 <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUGFLAGS="-wd4456 -wd4457 -wd4458 -wd4459 -wd4996"</DebugFlags>
Segev Finer679b5662017-07-27 01:17:57 +030059 <WarningsFlags>WARNINGS="-W3 -wd4244 -wd4267 -wd4311 -wd4312 -wd4334"</WarningsFlags>
Steve Dower65e4cb12014-11-22 12:54:57 -080060 <NMakeBuildCommandLine>setlocal
Steve Dower65e4cb12014-11-22 12:54:57 -080061set VCINSTALLDIR=$(VCInstallDir)
62cd /D "$(tkDir)win"
Segev Finer679b5662017-07-27 01:17:57 +030063nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) all
64nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) install-binaries install-libraries
Steve Dower68d663c2017-07-17 11:15:48 +020065copy /Y ..\license.terms "$(OutDir)\tklicense.terms"
Steve Dower65e4cb12014-11-22 12:54:57 -080066</NMakeBuildCommandLine>
Zachary Warea191b912014-03-21 22:58:19 -050067 </PropertyGroup>
Zachary Warea191b912014-03-21 22:58:19 -050068 <ItemGroup>
69 <ProjectReference Include="tcl.vcxproj">
70 <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
Steve Dower65e4cb12014-11-22 12:54:57 -080071 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Zachary Warea191b912014-03-21 22:58:19 -050072 </ProjectReference>
73 </ItemGroup>
74 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Steve Dower65e4cb12014-11-22 12:54:57 -080075
Steve Dower65e4cb12014-11-22 12:54:57 -080076 <Target Name="Clean" />
Steve Dowerb7567c52016-07-15 11:55:52 -070077
78 <Target Name="ResolveAssemblyReferences" />
Zachary Warea191b912014-03-21 22:58:19 -050079</Project>