Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame^] | 1 | <?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> |
| 8 | <ProjectConfiguration Include="Debug|x64"> |
| 9 | <Configuration>Debug</Configuration> |
| 10 | <Platform>x64</Platform> |
| 11 | </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> |
| 28 | <ProjectConfiguration Include="Release|Win32"> |
| 29 | <Configuration>Release</Configuration> |
| 30 | <Platform>Win32</Platform> |
| 31 | </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> |
| 40 | <Keyword>MakeFileProj</Keyword> |
| 41 | </PropertyGroup> |
| 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 43 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|Win32'" Label="Configuration"> |
| 44 | <ConfigurationType>Makefile</ConfigurationType> |
| 45 | <CharacterSet>NotSet</CharacterSet> |
| 46 | </PropertyGroup> |
| 47 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|Win32'" Label="Configuration"> |
| 48 | <ConfigurationType>Makefile</ConfigurationType> |
| 49 | <CharacterSet>NotSet</CharacterSet> |
| 50 | </PropertyGroup> |
| 51 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
| 52 | <ConfigurationType>Makefile</ConfigurationType> |
| 53 | <CharacterSet>NotSet</CharacterSet> |
| 54 | </PropertyGroup> |
| 55 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
| 56 | <ConfigurationType>Makefile</ConfigurationType> |
| 57 | <CharacterSet>NotSet</CharacterSet> |
| 58 | </PropertyGroup> |
| 59 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|x64'" Label="Configuration"> |
| 60 | <ConfigurationType>Makefile</ConfigurationType> |
| 61 | <CharacterSet>NotSet</CharacterSet> |
| 62 | </PropertyGroup> |
| 63 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|x64'" Label="Configuration"> |
| 64 | <ConfigurationType>Makefile</ConfigurationType> |
| 65 | <CharacterSet>NotSet</CharacterSet> |
| 66 | </PropertyGroup> |
| 67 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
| 68 | <ConfigurationType>Makefile</ConfigurationType> |
| 69 | <CharacterSet>NotSet</CharacterSet> |
| 70 | </PropertyGroup> |
| 71 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
| 72 | <ConfigurationType>Makefile</ConfigurationType> |
| 73 | <CharacterSet>NotSet</CharacterSet> |
| 74 | </PropertyGroup> |
| 75 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 76 | <ImportGroup Label="ExtensionSettings"> |
| 77 | </ImportGroup> |
| 78 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|Win32'" Label="PropertySheets"> |
| 79 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 80 | <Import Project="pyproject.props" /> |
| 81 | <Import Project="pgupdate.props" /> |
| 82 | <Import Project="tcltk.props" /> |
| 83 | </ImportGroup> |
| 84 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|Win32'" Label="PropertySheets"> |
| 85 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 86 | <Import Project="pyproject.props" /> |
| 87 | <Import Project="pginstrument.props" /> |
| 88 | <Import Project="tcltk.props" /> |
| 89 | </ImportGroup> |
| 90 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> |
| 91 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 92 | <Import Project="pyproject.props" /> |
| 93 | <Import Project="release.props" /> |
| 94 | <Import Project="tcltk.props" /> |
| 95 | </ImportGroup> |
| 96 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> |
| 97 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 98 | <Import Project="pyproject.props" /> |
| 99 | <Import Project="debug.props" /> |
| 100 | <Import Project="tcltk.props" /> |
| 101 | </ImportGroup> |
| 102 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|x64'" Label="PropertySheets"> |
| 103 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 104 | <Import Project="pyproject.props" /> |
| 105 | <Import Project="x64.props" /> |
| 106 | <Import Project="pgupdate.props" /> |
| 107 | <Import Project="tcltk.props" /> |
| 108 | </ImportGroup> |
| 109 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|x64'" Label="PropertySheets"> |
| 110 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 111 | <Import Project="pyproject.props" /> |
| 112 | <Import Project="x64.props" /> |
| 113 | <Import Project="pginstrument.props" /> |
| 114 | <Import Project="tcltk.props" /> |
| 115 | </ImportGroup> |
| 116 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> |
| 117 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 118 | <Import Project="pyproject.props" /> |
| 119 | <Import Project="x64.props" /> |
| 120 | <Import Project="release.props" /> |
| 121 | <Import Project="tcltk.props" /> |
| 122 | </ImportGroup> |
| 123 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> |
| 124 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
| 125 | <Import Project="pyproject.props" /> |
| 126 | <Import Project="x64.props" /> |
| 127 | <Import Project="debug.props" /> |
| 128 | <Import Project="tcltk.props" /> |
| 129 | </ImportGroup> |
| 130 | <PropertyGroup Label="UserMacros" /> |
| 131 | <PropertyGroup> |
| 132 | <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
| 133 | <NMakeBuildCommandLine> |
| 134 | IF EXIST $(tcltkDir)\include\tk.h ( |
| 135 | IF EXIST $(tcltkDir)\bin\$(tkDLLName) ( |
| 136 | IF EXIST $(OutDir)$(tkDLLName) ( |
| 137 | echo Tk is already built and available. |
| 138 | exit /b 0 |
| 139 | ) ELSE ( |
| 140 | echo Copying tk dll to $(OutDir) |
| 141 | xcopy $(tcltkDir)\bin\$(tkDLLName) $(OutDir) |
| 142 | exit /b 0 |
| 143 | ) |
| 144 | ) |
| 145 | ) |
| 146 | |
| 147 | IF NOT EXIST $(tkDir) ( |
| 148 | echo error: $(tkDir) doesn't exist. |
| 149 | exit 1 |
| 150 | ) |
| 151 | |
| 152 | IF "$(Platform)" EQU "Win32" set TclMachine=IX86 |
| 153 | IF "$(Platform)" EQU "x64" set TclMachine=AMD64 |
| 154 | |
| 155 | IF "$(Configuration)" EQU "Debug" ( |
| 156 | set TclOpts=symbols,noxp |
| 157 | ) ELSE ( |
| 158 | set TclOpts=noxp |
| 159 | ) |
| 160 | |
| 161 | cd $(tkDir)\win |
| 162 | |
| 163 | nmake -f makefile.vc MACHINE=%TclMachine% OPTS=%TclOpts% TCLDIR=$(SolutionDir)$(tclDir) all && nmake -f makefile.vc MACHINE=%TclMachine% OPTS=%TclOpts% TCLDIR=$(SolutionDir)$(tclDir) INSTALLDIR=$(SolutionDir)$(tcltkDir) install-binaries install-libraries && xcopy /y $(SolutionDir)$(tcltkDir)\bin\$(tkDLLName) $(OutDir) |
| 164 | </NMakeBuildCommandLine> |
| 165 | <NMakeCleanCommandLine>del $(OutDir)$(tkDLLName) |
| 166 | echo Tk must be cleaned manually if you want to rebuild it.</NMakeCleanCommandLine> |
| 167 | </PropertyGroup> |
| 168 | <ItemDefinitionGroup> |
| 169 | </ItemDefinitionGroup> |
| 170 | <ItemGroup> |
| 171 | <ProjectReference Include="tcl.vcxproj"> |
| 172 | <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project> |
| 173 | </ProjectReference> |
| 174 | </ItemGroup> |
| 175 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 176 | <ImportGroup Label="ExtensionTargets"> |
| 177 | </ImportGroup> |
| 178 | </Project> |