blob: 51682094cb8444ba5e668ed492d148d31bb0cb5b [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>{C5A3E7FB-9695-4B2E-960B-1D9F43F1E555}</ProjectGuid>
39 <RootNamespace>tix</RootNamespace>
Steve Dower68d663c2017-07-17 11:15:48 +020040 <SupportSigning>true</SupportSigning>
Zachary Warea191b912014-03-21 22:58:19 -050041 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080042
43 <Import Project="python.props" />
Zachary Warea191b912014-03-21 22:58:19 -050044 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080045 <Import Project="tcltk.props" />
46
47 <PropertyGroup Label="Configuration">
Zachary Warea191b912014-03-21 22:58:19 -050048 <ConfigurationType>Makefile</ConfigurationType>
Steve Dower65e4cb12014-11-22 12:54:57 -080049 <OutDir>$(tcltkDir)</OutDir>
50 <TargetPath>$(tixDLLPath)</TargetPath>
Zachary Warea191b912014-03-21 22:58:19 -050051 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080052
Zachary Warea191b912014-03-21 22:58:19 -050053 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080054
Zachary Warea191b912014-03-21 22:58:19 -050055 <PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080056 <TixDirs>BUILDDIRTOP="$(BuildDirTop)" TCL_DIR="$(tclDir.TrimEnd(`\`))" TK_DIR="$(tkDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TixDirs>
Steve Dowerfcbe1df2015-09-08 21:39:01 -070057 <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g TK_DBGX=g</DebugFlags>
58 <DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
Segev Finer679b5662017-07-27 01:17:57 +030059 <CFlags>-c -W3 -nologo -MD -wd4028 -wd4090 -wd4244 -wd4267 -wd4312</CFlags>
Steve Dower65e4cb12014-11-22 12:54:57 -080060 <NMakeBuildCommandLine>setlocal
Steve Dower65e4cb12014-11-22 12:54:57 -080061set VCINSTALLDIR=$(VCInstallDir)
62cd /D "$(tixDir)win"
Segev Finerc9318852017-06-16 06:12:05 +030063nmake /nologo -f makefile.vc MACHINE=$(TclMachine) cflags="$(CFlags)" $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
Steve Dower68d663c2017-07-17 11:15:48 +020064copy /Y ..\license.terms "$(OutDir)\tixlicense.terms"
Steve Dower65e4cb12014-11-22 12:54:57 -080065</NMakeBuildCommandLine>
66 <NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
Zachary Warea191b912014-03-21 22:58:19 -050067 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080068
Steve Dower68d663c2017-07-17 11:15:48 +020069 <Target Name="SignFiles" AfterTargets="Build" Condition="$(_SignCommand) != ''">
70 <ItemGroup>
71 <FilesToSign Include="$(OutDir)\bin\*.exe" />
72 <FilesToSign Include="$(OutDir)\bin\*.dll" />
73 </ItemGroup>
74 <Exec Command="$(_SignCommand) &quot;%(FilesToSign.FullPath)&quot;" ContinueOnError="true" />
75 </Target>
76
Zachary Warea191b912014-03-21 22:58:19 -050077 <ItemGroup>
78 <ProjectReference Include="tcl.vcxproj">
79 <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
Steve Dower65e4cb12014-11-22 12:54:57 -080080 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Zachary Warea191b912014-03-21 22:58:19 -050081 </ProjectReference>
82 <ProjectReference Include="tk.vcxproj">
83 <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
Steve Dower65e4cb12014-11-22 12:54:57 -080084 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Zachary Warea191b912014-03-21 22:58:19 -050085 </ProjectReference>
86 </ItemGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080087
Zachary Warea191b912014-03-21 22:58:19 -050088 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Steve Dower65e4cb12014-11-22 12:54:57 -080089
90 <Target Name="Clean" />
91 <Target Name="CleanAll">
92 <RemoveDir Directories="$(OutDir)" />
93 <RemoveDir Directories="$(IntDir)" />
94 </Target>
Steve Dowerb7567c52016-07-15 11:55:52 -070095
96 <Target Name="ResolveAssemblyReferences" />
Zachary Warea191b912014-03-21 22:58:19 -050097</Project>