aboutsummaryrefslogtreecommitdiffstats
path: root/src/qttemplates/gui/gui.vcxproj
blob: 27f5383f8ed2984329d435e69677d5bd10fe8508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="$ToolsVersion$" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|$Platform$">
      <Configuration>Debug</Configuration>
      <Platform>$Platform$</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|$Platform$">
      <Configuration>Release</Configuration>
      <Platform>$Platform$</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>$ProjectGuid$</ProjectGuid>
    <Keyword>$Keyword$</Keyword>
    $if$ ($QtWinRT$ == true)
    <MinimumVisualStudioVersion>$MinimumVisualStudioVersion$</MinimumVisualStudioVersion>
    <DefaultLanguage>en</DefaultLanguage>
    <AppContainerApplication>true</AppContainerApplication>
    <ApplicationType>Windows Store</ApplicationType>
    <ApplicationTypeRevision>$ApplicationTypeRevision$</ApplicationTypeRevision>
    <WindowsTargetPlatformMinVersion>$WindowsTargetPlatformMinVersion$</WindowsTargetPlatformMinVersion>
    $endif$
    $if$ ($isSet_WindowsTargetPlatformVersion$ == true)
    <WindowsTargetPlatformVersion>$WindowsTargetPlatformVersion$</WindowsTargetPlatformVersion>
    $endif$
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|$Platform$'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>v$PlatformToolset$</PlatformToolset>
    $if$ ($QtWinRT$ == true)
    <GenerateManifest>false</GenerateManifest>
    <EmbedManifest>false</EmbedManifest>
    $endif$
    <QtInstall>$DefaultQtVersion$</QtInstall>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|$Platform$'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>v$PlatformToolset$</PlatformToolset>
    $if$ ($QtWinRT$ == true)
    <GenerateManifest>false</GenerateManifest>
    <EmbedManifest>false</EmbedManifest>
    $endif$
    <QtInstall>$DefaultQtVersion$</QtInstall>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <PropertyGroup Condition="'$(QtMsBuild)'=='' or !Exists('$(QtMsBuild)\qt.targets')">
    <QtMsBuild>$(MSBuildProjectDirectory)\QtMsBuild</QtMsBuild>
  </PropertyGroup>
  <Target Name="QtMsBuildNotFound"
    BeforeTargets="CustomBuild;ClCompile"
    Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')">
    <Message Importance="High"
      Text="QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly." />
  </Target>
  <ImportGroup Condition="Exists('$(QtMsBuild)\qt.props')">
    <Import Project="$(QtMsBuild)\qt.props" />
  </ImportGroup>
  <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|$Platform$'">
    <QtModules>$QtModules$</QtModules>
  </PropertyGroup>
  <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|$Platform$'">
    <QtModules>$QtModules$</QtModules>
  </PropertyGroup>
  <ImportGroup Label="ExtensionSettings" />
  <ImportGroup Label="Shared" />
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|$Platform$'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|$Platform$'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  $if$ ($QtWinRT$ == true)
  <Target Name="WinDeployQt"
          Inputs="$(OutDir)\$(TargetName).exe" Outputs="$(TargetName).windeployqt.$(Platform).$(Configuration)">
    <Message Text="$(QTDIR)\bin\windeployqt.exe -qmldir &quot;$(MSBuildProjectDirectory)&quot; -list relative -dir &quot;$(MSBuildProjectDirectory)&quot; &quot;$(OutDir)\$(TargetName).exe&quot; > &quot;$(TargetName).windeployqt.$(Platform).$(Configuration)&quot;" />
    <Exec Command="$(QTDIR)\bin\windeployqt.exe -qmldir &quot;$(MSBuildProjectDirectory)&quot; -list relative -dir &quot;$(MSBuildProjectDirectory)&quot; &quot;$(OutDir)\$(TargetName).exe&quot; > &quot;$(TargetName).windeployqt.$(Platform).$(Configuration)&quot;" />
  </Target>
  <Target Name="PopulateWinDeployQtItems" AfterTargets="Link" DependsOnTargets="WinDeployQt">
    <ReadLinesFromFile File="$(TargetName).windeployqt.$(Platform).$(Configuration)">
      <Output TaskParameter="Lines" ItemName="DeploymentItems" />
    </ReadLinesFromFile>
    <ItemGroup>
      <None Include="@(DeploymentItems)">
        <DeploymentContent>true</DeploymentContent>
      </None>
    </ItemGroup>
  </Target>
  $endif$
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|$Platform$'">
    $QtMoc$
    <ClCompile>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
      $if$ ($QtWinRT$ == true)
      <CompileAsWinRT>false</CompileAsWinRT>
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
      <RuntimeTypeInfo>true</RuntimeTypeInfo>
      $endif$
    </ClCompile>
    $if$ ($QtWinRT$ == true)
    <Link>
      <AdditionalOptions>/APPCONTAINER %(AdditionalOptions)</AdditionalOptions>
      <GenerateManifest>false</GenerateManifest>
      <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
      <TargetMachine>$Link_TargetMachine$</TargetMachine>
    </Link>
    $endif$
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|$Platform$'">
    $QtMoc$
    <ClCompile>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
      $if$ ($QtWinRT$ == true)
      <CompileAsWinRT>false</CompileAsWinRT>
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
      <RuntimeTypeInfo>true</RuntimeTypeInfo>
      $endif$
    </ClCompile>
    $if$ ($QtWinRT$ == true)
    <Link>
      <AdditionalOptions>/APPCONTAINER %(AdditionalOptions)</AdditionalOptions>
      <GenerateManifest>false</GenerateManifest>
      <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
      <TargetMachine>$Link_TargetMachine$</TargetMachine>
    </Link>
    $endif$
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClCompile Include="main.cpp" />
  </ItemGroup>
  <ItemGroup>
    $precompiledheader$
    $precompiledsource$
    $DefaultApplicationIcon$
    <None Include="$uifilename$" />
    <None Include="$headerfilename$" />
    <None Include="$sourcefilename$" />
  </ItemGroup>
  $if$ ($QtWinRT$ == true)
  <ItemGroup>
    <AppxManifest Include="Package.appxmanifest" />
    <Image Include="assets/logo_150x150.png" />
    <Image Include="assets/logo_44x44.png" />
    <Image Include="assets/logo_store.png" />
    <Image Include="assets/logo_620x300.png" />
  </ItemGroup>
  $endif$
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
    <Import Project="$(QtMsBuild)\qt.targets" />
  </ImportGroup>
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>