Skip to content

Commit

Permalink
Adapt LVGL for LvglWindowsStatic project.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Feb 17, 2024
1 parent 6b1e2d7 commit a427c8d
Show file tree
Hide file tree
Showing 4 changed files with 966 additions and 18 deletions.
16 changes: 0 additions & 16 deletions LvglWindows/LvglWindowsStatic.cpp

This file was deleted.

12 changes: 11 additions & 1 deletion LvglWindows/LvglWindowsStatic.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.ARM64.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.Default.props" />
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.props" />
<PropertyGroup>
<IncludePath>$(MSBuildThisFileDirectory);$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\;$(MSBuildThisFileDirectory)..\LvglPlatform\;$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<TreatWarningAsError>false</TreatWarningAsError>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<PreprocessorDefinitions>LV_CONF_INCLUDE_SIMPLE;LV_LVGL_H_INCLUDE_SIMPLE;LV_USE_DEV_VERSION;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\demos\benchmark\assets\img_benchmark_cogwheel_alpha256.c" />
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\demos\benchmark\assets\img_benchmark_cogwheel_argb.c" />
Expand Down Expand Up @@ -636,7 +646,6 @@
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\textarea\lv_textarea.c" />
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\tileview\lv_tileview.c" />
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\win\lv_win.c" />
<ClCompile Include="LvglWindowsStatic.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\demos\benchmark\lv_demo_benchmark.h" />
Expand Down Expand Up @@ -949,6 +958,7 @@
<ClInclude Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\textarea\lv_textarea.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\tileview\lv_tileview.h" />
<ClInclude Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\win\lv_win.h" />
<ClInclude Include="lv_conf.h" />
</ItemGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\.devcontainer\devcontainer.json" />
Expand Down
2 changes: 1 addition & 1 deletion LvglWindows/LvglWindowsStatic.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1873,7 +1873,6 @@
<ClCompile Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\win\lv_win.c">
<Filter>lvgl\src\widgets\win</Filter>
</ClCompile>
<ClCompile Include="LvglWindowsStatic.cpp" />
</ItemGroup>
<ItemGroup>
<Filter Include="lvgl">
Expand Down Expand Up @@ -3669,6 +3668,7 @@
<ClInclude Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\src\widgets\win\lv_win.h">
<Filter>lvgl\src\widgets\win</Filter>
</ClInclude>
<ClInclude Include="lv_conf.h" />
</ItemGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)..\LvglPlatform\lvgl\.devcontainer\devcontainer.json">
Expand Down
Loading

0 comments on commit a427c8d

Please sign in to comment.