|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 | 3 | <ItemGroup Label="ProjectConfigurations">
|
4 |
| - <ProjectConfiguration Include="Debug Static Library|x64"> |
5 |
| - <Configuration>Debug Static Library</Configuration> |
6 |
| - <Platform>x64</Platform> |
7 |
| - </ProjectConfiguration> |
8 | 4 | <ProjectConfiguration Include="Debug Dynamic Library|x64">
|
9 | 5 | <Configuration>Debug Dynamic Library</Configuration>
|
10 | 6 | <Platform>x64</Platform>
|
11 | 7 | </ProjectConfiguration>
|
12 |
| - <ProjectConfiguration Include="Release Static Library|x64"> |
13 |
| - <Configuration>Release Static Library</Configuration> |
14 |
| - <Platform>x64</Platform> |
15 |
| - </ProjectConfiguration> |
16 | 8 | <ProjectConfiguration Include="Release Dynamic Library|x64">
|
17 | 9 | <Configuration>Release Dynamic Library</Configuration>
|
18 | 10 | <Platform>x64</Platform>
|
|
31 | 23 | <PlatformToolset>v141</PlatformToolset>
|
32 | 24 | <CharacterSet>MultiByte</CharacterSet>
|
33 | 25 | </PropertyGroup>
|
34 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static Library|x64'" Label="Configuration"> |
35 |
| - <ConfigurationType>Application</ConfigurationType> |
36 |
| - <UseDebugLibraries>true</UseDebugLibraries> |
37 |
| - <PlatformToolset>v141</PlatformToolset> |
38 |
| - <CharacterSet>MultiByte</CharacterSet> |
39 |
| - </PropertyGroup> |
40 | 26 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Dynamic Library|x64'" Label="Configuration">
|
41 | 27 | <ConfigurationType>Application</ConfigurationType>
|
42 | 28 | <UseDebugLibraries>false</UseDebugLibraries>
|
43 | 29 | <PlatformToolset>v141</PlatformToolset>
|
44 | 30 | <WholeProgramOptimization>true</WholeProgramOptimization>
|
45 | 31 | <CharacterSet>MultiByte</CharacterSet>
|
46 | 32 | </PropertyGroup>
|
47 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static Library|x64'" Label="Configuration"> |
48 |
| - <ConfigurationType>Application</ConfigurationType> |
49 |
| - <UseDebugLibraries>false</UseDebugLibraries> |
50 |
| - <PlatformToolset>v141</PlatformToolset> |
51 |
| - <WholeProgramOptimization>true</WholeProgramOptimization> |
52 |
| - <CharacterSet>MultiByte</CharacterSet> |
53 |
| - </PropertyGroup> |
54 | 33 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
55 | 34 | <ImportGroup Label="ExtensionSettings">
|
56 | 35 | </ImportGroup>
|
|
59 | 38 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug Dynamic Library|x64'">
|
60 | 39 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
61 | 40 | </ImportGroup>
|
62 |
| - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static Library|x64'" Label="PropertySheets"> |
63 |
| - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
64 |
| - </ImportGroup> |
65 | 41 | <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release Dynamic Library|x64'">
|
66 | 42 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
67 | 43 | </ImportGroup>
|
68 |
| - <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release Static Library|x64'" Label="PropertySheets"> |
69 |
| - <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
70 |
| - </ImportGroup> |
71 | 44 | <PropertyGroup Label="UserMacros" />
|
72 | 45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Dynamic Library|x64'">
|
73 | 46 | <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName)\</OutDir>
|
74 | 47 | <IntDir>$(SolutionDir)bin\intermediates\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
|
75 | 48 | <IncludePath>$(ProjectDir)..\..\library\windows\dependencies\;$(ProjectDir)..\..\;$(IncludePath);$(ProjectDir)..\..\library\windows\;$(ProjectDir)..\..\library\include\</IncludePath>
|
76 | 49 | <LibraryPath>$(ProjectDir)..\..\library\windows\dependencies\GLFW\;$(SolutionDir)bin\$(Platform)\$(Configuration)\GLFW Library\;$(LibraryPath)</LibraryPath>
|
77 | 50 | </PropertyGroup>
|
78 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static Library|x64'"> |
79 |
| - <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName)\</OutDir> |
80 |
| - <IntDir>$(SolutionDir)bin\intermediates\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
81 |
| - <IncludePath>$(ProjectDir)..\..\library\windows\dependencies\GLFW\;$(ProjectDir)..\..\library\windows\;$(IncludePath)</IncludePath> |
82 |
| - <LibraryPath>$(ProjectDir)..\..\library\windows\dependencies\GLFW\;$(SolutionDir)bin\$(Platform)\$(Configuration)\GLFW Library\;$(LibraryPath)</LibraryPath> |
83 |
| - </PropertyGroup> |
84 | 51 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Dynamic Library|x64'">
|
85 | 52 | <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName)\</OutDir>
|
86 | 53 | <IntDir>$(SolutionDir)bin\intermediates\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
|
87 | 54 | <IncludePath>$(ProjectDir)..\..\library\windows\dependencies\;$(ProjectDir)..\..\;$(IncludePath);$(ProjectDir)..\..\library\windows\</IncludePath>
|
88 | 55 | <LibraryPath>$(ProjectDir)..\..\library\windows\dependencies\GLFW\;$(SolutionDir)bin\$(Platform)\$(Configuration)\GLFW Library\;$(LibraryPath)</LibraryPath>
|
89 | 56 | </PropertyGroup>
|
90 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release Static Library|x64'"> |
91 |
| - <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\$(ProjectName)\</OutDir> |
92 |
| - <IntDir>$(SolutionDir)bin\intermediates\$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
93 |
| - <IncludePath>$(ProjectDir)..\..\library\windows\dependencies\GLFW\;$(ProjectDir)..\..\library\windows\;$(IncludePath)</IncludePath> |
94 |
| - <LibraryPath>$(ProjectDir)..\..\library\windows\dependencies\GLFW\;$(SolutionDir)bin\$(Platform)\$(Configuration)\GLFW Library\;$(LibraryPath)</LibraryPath> |
95 |
| - </PropertyGroup> |
96 | 57 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Dynamic Library|x64'">
|
97 | 58 | <ClCompile>
|
98 | 59 | <WarningLevel>Level3</WarningLevel>
|
|
120 | 81 | <Message>Copy flutter_embedder.dll from library out to example out dir</Message>
|
121 | 82 | </PostBuildEvent>
|
122 | 83 | </ItemDefinitionGroup>
|
123 |
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Static Library|x64'"> |
124 |
| - <ClCompile> |
125 |
| - <WarningLevel>Level3</WarningLevel> |
126 |
| - <Optimization>Disabled</Optimization> |
127 |
| - <SDLCheck>true</SDLCheck> |
128 |
| - <ConformanceMode>true</ConformanceMode> |
129 |
| - <AdditionalIncludeDirectories> |
130 |
| - </AdditionalIncludeDirectories> |
131 |
| - </ClCompile> |
132 |
| - <Link> |
133 |
| - <AdditionalDependencies>flutter_embedder.lib;glfw3.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
134 |
| - </Link> |
135 |
| - <PreBuildEvent> |
136 |
| - <Command>$(ProjectDir)scripts\build_example_app</Command> |
137 |
| - <Message>Build the example app</Message> |
138 |
| - </PreBuildEvent> |
139 |
| - <PreLinkEvent> |
140 |
| - <Command>xcopy /y /d /q "$(OutputPath)..\GLFW Library\flutter_engine.dll" "$(OutputPath)"</Command> |
141 |
| - <Message>Get the flutter_engine.dll file from GLFW Library bin folder</Message> |
142 |
| - </PreLinkEvent> |
143 |
| - <PostBuildEvent> |
144 |
| - <Command> |
145 |
| - </Command> |
146 |
| - </PostBuildEvent> |
147 |
| - <PostBuildEvent> |
148 |
| - <Message> |
149 |
| - </Message> |
150 |
| - </PostBuildEvent> |
151 |
| - </ItemDefinitionGroup> |
152 | 84 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Dynamic Library|x64'">
|
153 | 85 | <ClCompile>
|
154 | 86 | <WarningLevel>Level3</WarningLevel>
|
|
180 | 112 | <Message>Copy flutter_embedder.dll from library out to example out dir</Message>
|
181 | 113 | </PostBuildEvent>
|
182 | 114 | </ItemDefinitionGroup>
|
183 |
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release Static Library|x64'"> |
184 |
| - <ClCompile> |
185 |
| - <WarningLevel>Level3</WarningLevel> |
186 |
| - <Optimization>MaxSpeed</Optimization> |
187 |
| - <FunctionLevelLinking>true</FunctionLevelLinking> |
188 |
| - <IntrinsicFunctions>true</IntrinsicFunctions> |
189 |
| - <SDLCheck>true</SDLCheck> |
190 |
| - <ConformanceMode>true</ConformanceMode> |
191 |
| - <AdditionalIncludeDirectories> |
192 |
| - </AdditionalIncludeDirectories> |
193 |
| - </ClCompile> |
194 |
| - <Link> |
195 |
| - <EnableCOMDATFolding>true</EnableCOMDATFolding> |
196 |
| - <OptimizeReferences>true</OptimizeReferences> |
197 |
| - <AdditionalDependencies>flutter_embedder.lib;glfw3.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
198 |
| - </Link> |
199 |
| - <PreBuildEvent> |
200 |
| - <Command>$(ProjectDir)scripts\build_example_app</Command> |
201 |
| - <Message>Build the example app</Message> |
202 |
| - </PreBuildEvent> |
203 |
| - <PreLinkEvent> |
204 |
| - <Command>xcopy /y /d /q "$(OutputPath)..\GLFW Library\flutter_engine.dll" "$(OutputPath)"</Command> |
205 |
| - <Message>Get the flutter_engine.dll file from GLFW Library bin folder</Message> |
206 |
| - </PreLinkEvent> |
207 |
| - <PostBuildEvent> |
208 |
| - <Command> |
209 |
| - </Command> |
210 |
| - </PostBuildEvent> |
211 |
| - <PostBuildEvent> |
212 |
| - <Message> |
213 |
| - </Message> |
214 |
| - </PostBuildEvent> |
215 |
| - </ItemDefinitionGroup> |
216 | 115 | <ItemGroup>
|
217 | 116 | <ClCompile Include="flutter_embedder_example.cpp" />
|
218 | 117 | </ItemGroup>
|
|
0 commit comments