init lvgl code
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Library.CppWinRT.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.CppWinRT">
|
||||
<Version>2.0.211028.7</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
BIN
LVGL.Simulator/Mile.Project/Mile.Project.Manifest.rc
Normal file
BIN
LVGL.Simulator/Mile.Project/Mile.Project.Manifest.rc
Normal file
Binary file not shown.
22
LVGL.Simulator/Mile.Project/Mile.Project.Platform.ARM.props
Normal file
22
LVGL.Simulator/Mile.Project/Mile.Project.Platform.ARM.props
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Platform.ARM.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Platform.ARM64.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Platform.Win32.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
22
LVGL.Simulator/Mile.Project/Mile.Project.Platform.x64.props
Normal file
22
LVGL.Simulator/Mile.Project/Mile.Project.Platform.x64.props
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Platform.x64.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Runtime.VC-LTL.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<RuntimeLibrary Condition="'$(Configuration)'=='Debug'">MultiThreadedDebug</RuntimeLibrary>
|
||||
<RuntimeLibrary Condition="'$(Configuration)'=='Release'">MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="VC-LTL">
|
||||
<Version>5.0.4</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
119
LVGL.Simulator/Mile.Project/Mile.Project.Version.h
Normal file
119
LVGL.Simulator/Mile.Project/Mile.Project.Version.h
Normal file
@@ -0,0 +1,119 @@
|
||||
/*
|
||||
* PROJECT: Mouri Internal Library Essentials
|
||||
* FILE: Mile.Project.Version.h
|
||||
* PURPOSE: Version Definition for Mile.Project
|
||||
*
|
||||
* LICENSE: The MIT License
|
||||
*
|
||||
* DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
*/
|
||||
|
||||
#ifndef MILE_PROJECT_VERSION
|
||||
#define MILE_PROJECT_VERSION
|
||||
|
||||
#ifndef MILE_PROJECT_MACRO_TO_STRING
|
||||
#define _MILE_PROJECT_MACRO_TO_STRING(arg) L#arg
|
||||
#define MILE_PROJECT_MACRO_TO_STRING(arg) _MILE_PROJECT_MACRO_TO_STRING(arg)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_MACRO_TO_UTF8_STRING
|
||||
#define _MILE_PROJECT_MACRO_TO_UTF8_STRING(arg) #arg
|
||||
#define MILE_PROJECT_MACRO_TO_UTF8_STRING(arg) \
|
||||
_MILE_PROJECT_MACRO_TO_UTF8_STRING(arg)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_DEFINE_COMMA_VERSION
|
||||
#define MILE_PROJECT_DEFINE_COMMA_VERSION(MAJOR,MINOR,BUILD,REVISION) \
|
||||
MAJOR,MINOR,BUILD,REVISION
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_DEFINE_DOT_VERSION
|
||||
#define MILE_PROJECT_DEFINE_DOT_VERSION(MAJOR,MINOR,BUILD,REVISION) \
|
||||
MAJOR.MINOR.BUILD.REVISION
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_COMMA_VERSION
|
||||
#define MILE_PROJECT_COMMA_VERSION \
|
||||
MILE_PROJECT_DEFINE_COMMA_VERSION( \
|
||||
MILE_PROJECT_VERSION_MAJOR, \
|
||||
MILE_PROJECT_VERSION_MINOR, \
|
||||
MILE_PROJECT_VERSION_BUILD, \
|
||||
MILE_PROJECT_VERSION_REVISION)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_DOT_VERSION
|
||||
#define MILE_PROJECT_DOT_VERSION \
|
||||
MILE_PROJECT_DEFINE_DOT_VERSION( \
|
||||
MILE_PROJECT_VERSION_MAJOR, \
|
||||
MILE_PROJECT_VERSION_MINOR, \
|
||||
MILE_PROJECT_VERSION_BUILD, \
|
||||
MILE_PROJECT_VERSION_REVISION)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_COMMA_VERSION_STRING
|
||||
#define MILE_PROJECT_COMMA_VERSION_STRING \
|
||||
MILE_PROJECT_MACRO_TO_STRING(MILE_PROJECT_COMMA_VERSION)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_DOT_VERSION_STRING
|
||||
#define MILE_PROJECT_DOT_VERSION_STRING \
|
||||
MILE_PROJECT_MACRO_TO_STRING(MILE_PROJECT_DOT_VERSION)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_COMMA_VERSION_UTF8_STRING
|
||||
#define MILE_PROJECT_COMMA_VERSION_UTF8_STRING \
|
||||
MILE_PROJECT_MACRO_TO_UTF8_STRING(MILE_PROJECT_COMMA_VERSION)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_DOT_VERSION_UTF8_STRING
|
||||
#define MILE_PROJECT_DOT_VERSION_UTF8_STRING \
|
||||
MILE_PROJECT_MACRO_TO_UTF8_STRING(MILE_PROJECT_DOT_VERSION)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_DEFINE_SIMPLE_VERSION
|
||||
#define MILE_PROJECT_DEFINE_SIMPLE_VERSION(MAJOR,MINOR) \
|
||||
MAJOR.MINOR
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_SIMPLE_VERSION
|
||||
#define MILE_PROJECT_SIMPLE_VERSION \
|
||||
MILE_PROJECT_DEFINE_SIMPLE_VERSION( \
|
||||
MILE_PROJECT_VERSION_MAJOR, \
|
||||
MILE_PROJECT_VERSION_MINOR)
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_SIMPLE_VERSION_STRING
|
||||
#define MILE_PROJECT_SIMPLE_VERSION_STRING \
|
||||
MILE_PROJECT_MACRO_TO_STRING(MILE_PROJECT_SIMPLE_VERSION)
|
||||
#endif
|
||||
|
||||
#ifdef MILE_PROJECT_VERSION_TAG
|
||||
#define MILE_PROJECT_VERSION_TAG_STRING L" " MILE_PROJECT_VERSION_TAG
|
||||
#else
|
||||
#define MILE_PROJECT_VERSION_TAG_STRING
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_VERSION_STRING
|
||||
#define MILE_PROJECT_VERSION_STRING \
|
||||
MILE_PROJECT_SIMPLE_VERSION_STRING \
|
||||
MILE_PROJECT_VERSION_TAG_STRING
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_SIMPLE_VERSION_UTF8_STRING
|
||||
#define MILE_PROJECT_SIMPLE_VERSION_UTF8_STRING \
|
||||
MILE_PROJECT_MACRO_TO_UTF8_STRING(MILE_PROJECT_SIMPLE_VERSION)
|
||||
#endif
|
||||
|
||||
#ifdef MILE_PROJECT_VERSION_TAG
|
||||
#define MILE_PROJECT_VERSION_TAG_UTF8_STRING " " MILE_PROJECT_VERSION_TAG
|
||||
#else
|
||||
#define MILE_PROJECT_VERSION_TAG_UTF8_STRING
|
||||
#endif
|
||||
|
||||
#ifndef MILE_PROJECT_VERSION_UTF8_STRING
|
||||
#define MILE_PROJECT_VERSION_UTF8_STRING \
|
||||
MILE_PROJECT_SIMPLE_VERSION_UTF8_STRING \
|
||||
MILE_PROJECT_VERSION_TAG_UTF8_STRING
|
||||
#endif
|
||||
|
||||
#endif
|
||||
BIN
LVGL.Simulator/Mile.Project/Mile.Project.Version.rc
Normal file
BIN
LVGL.Simulator/Mile.Project/Mile.Project.Version.rc
Normal file
Binary file not shown.
49
LVGL.Simulator/Mile.Project/Mile.Project.Wap.props
Normal file
49
LVGL.Simulator/Mile.Project/Mile.Project.Wap.props
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Wap.props
|
||||
PURPOSE: Definition for Visual Studio Windows Packaging Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '15.0'">
|
||||
<VisualStudioVersion>15.0</VisualStudioVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x86">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x86">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x86</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|ARM64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|ARM64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>ARM64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
|
||||
<PropertyGroup>
|
||||
<!-- https://github.com/microsoft/Terminal/issues/700 -->
|
||||
<DebuggerType>NativeOnly</DebuggerType>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
75
LVGL.Simulator/Mile.Project/Mile.Project.Wap.targets
Normal file
75
LVGL.Simulator/Mile.Project/Mile.Project.Wap.targets
Normal file
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.Wap.targets
|
||||
PURPOSE: Definition for Visual Studio Windows Packaging Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
|
||||
<!-- ## BEGIN HACK - Put all output files to the AppX root folder ## -->
|
||||
<!--
|
||||
Reference: https://github.com/microsoft/terminal
|
||||
/blob/a89c3e2f8527a51b39768980627ed8f7c1ea5f0b
|
||||
/src/cascadia/CascadiaPackage/CascadiaPackage.wapproj#L73
|
||||
-->
|
||||
<!--
|
||||
For our builds, we want to put all output files to the AppX root folder for
|
||||
simplifying the implementation.
|
||||
-->
|
||||
<Target Name="MileProjectStompSourceProjectForWapProject" BeforeTargets="_ConvertItems">
|
||||
<ItemGroup>
|
||||
<!--
|
||||
Stomp all "SourceProject" values for all incoming dependencies to
|
||||
flatten the package.
|
||||
-->
|
||||
<_TemporaryFilteredWapProjOutput Include="@(_FilteredNonWapProjProjectOutput)" />
|
||||
<_FilteredNonWapProjProjectOutput Remove="@(_TemporaryFilteredWapProjOutput)" />
|
||||
<_FilteredNonWapProjProjectOutput Include="@(_TemporaryFilteredWapProjOutput)">
|
||||
<!--
|
||||
Blank the SourceProject here to vend all files into the root of the
|
||||
package.
|
||||
-->
|
||||
<SourceProject>
|
||||
</SourceProject>
|
||||
</_FilteredNonWapProjProjectOutput>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<!-- ## END HACK - Put all output files to the AppX root folder ## -->
|
||||
<!-- ## BEGIN HACK - Removing Microsoft.VCLibs Packages ## -->
|
||||
<!--
|
||||
Reference: https://github.com/microsoft/terminal
|
||||
/blob/a89c3e2f8527a51b39768980627ed8f7c1ea5f0b
|
||||
/src/cascadia/CascadiaPackage/CascadiaPackage.wapproj#L125
|
||||
-->
|
||||
<!--
|
||||
For our builds, we're just using VC-LTL to compile the project and delete
|
||||
the package dependencies. We don't want to rely on the Microsoft.VCLibs
|
||||
packages. Because it's very difficult for users who do not have access to
|
||||
the store to get our dependency packages, and we want to be robust and
|
||||
deployable everywhere.
|
||||
-->
|
||||
<!--
|
||||
This target removes the FrameworkSdkReferences from before the AppX package
|
||||
targets manifest generation happens. This is part of the generic machinery
|
||||
that applies to every AppX.
|
||||
-->
|
||||
<Target Name="MileProjectStripAllDependenciesFromPackageFirstManifest" BeforeTargets="_GenerateCurrentProjectAppxManifest">
|
||||
<ItemGroup>
|
||||
<FrameworkSdkReference Remove="@(FrameworkSdkReference)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<!--
|
||||
This target removes the FrameworkSdkPackages from before the *desktop
|
||||
bridge* manifest generation happens.
|
||||
-->
|
||||
<Target Name="MileProjectStripAllDependenciesFromPackageSecondManifest" BeforeTargets="_GenerateDesktopBridgeAppxManifest" DependsOnTargets="_ResolveVCLibDependencies">
|
||||
<ItemGroup>
|
||||
<FrameworkSdkPackage Remove="@(FrameworkSdkPackage)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<!-- ## END HACK - Removing Microsoft.VCLibs Packages ## -->
|
||||
</Project>
|
||||
103
LVGL.Simulator/Mile.Project/Mile.Project.props
Normal file
103
LVGL.Simulator/Mile.Project/Mile.Project.props
Normal file
@@ -0,0 +1,103 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.props
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<!--
|
||||
The documents of specific options in Mile.Project.
|
||||
|
||||
How to define the project type in the "Globals" label property group.
|
||||
If the project is a console application project.
|
||||
<MileProjectType>ConsoleApplication</MileProjectType>
|
||||
If the project is a windows application project.
|
||||
<MileProjectType>WindowsApplication</MileProjectType>
|
||||
If the project is a dynamic library project.
|
||||
<MileProjectType>DynamicLibrary</MileProjectType>
|
||||
If the project is a static library project.
|
||||
<MileProjectType>StaticLibrary</MileProjectType>
|
||||
|
||||
How to define the manifest file in the "Globals" label property group.
|
||||
<MileProjectManifestFile>C:\Folder\Manifest.manifest</MileProjectManifestFile>
|
||||
|
||||
How to enable the version information support.
|
||||
Copy Mile.Project.Properties.Template.h to the project folder and rename it
|
||||
to Mile.Project.Properties.h.
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!--
|
||||
Only do this for MSBuild versions below 16.0 as it is since done
|
||||
automatically, see https://github.com/microsoft/msbuild/pull/3605.
|
||||
-->
|
||||
<MSBuildAllProjects Condition="'$(MSBuildToolsVersion)' <= '15'">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<ConfigurationType Condition="'$(MileProjectType)'=='DynamicLibrary'">DynamicLibrary</ConfigurationType>
|
||||
<ConfigurationType Condition="'$(MileProjectType)'=='StaticLibrary'">StaticLibrary</ConfigurationType>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
|
||||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0'">v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
||||
<UseDebugLibraries Condition="'$(Configuration)'=='Release'">false</UseDebugLibraries>
|
||||
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
<LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental>
|
||||
<LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
<IncludePath>$(MSBuildThisFileDirectory);$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<TreatWarningAsError>true</TreatWarningAsError>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<LanguageStandard>stdcpp17</LanguageStandard>
|
||||
<EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">NoExtensions</EnableEnhancedInstructionSet>
|
||||
<PreprocessorDefinitions Condition="'$(Platform)'=='Win32'">WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)'=='Debug'">_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<Optimization Condition="'$(Configuration)'=='Debug'">Disabled</Optimization>
|
||||
<PreprocessorDefinitions Condition="'$(Configuration)'=='Release'">NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<Optimization Condition="'$(Configuration)'=='Release'">MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking Condition="'$(Configuration)'=='Release'">true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions Condition="'$(Configuration)'=='Release'">true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectType)'=='ConsoleApplication'">_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectType)'=='WindowsApplication'">_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectType)'=='DynamicLibrary'">_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectType)'=='StaticLibrary'">_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding Condition="'$(Configuration)'=='Release'">true</EnableCOMDATFolding>
|
||||
<OptimizeReferences Condition="'$(Configuration)'=='Release'">true</OptimizeReferences>
|
||||
<SubSystem Condition="'$(MileProjectType)'=='ConsoleApplication'">Console</SubSystem>
|
||||
<SubSystem Condition="'$(MileProjectType)'=='WindowsApplication'">Windows</SubSystem>
|
||||
<SubSystem Condition="'$(MileProjectType)'=='DynamicLibrary'">Windows</SubSystem>
|
||||
<SubSystem Condition="'$(MileProjectType)'=='StaticLibrary'"></SubSystem>
|
||||
</Link>
|
||||
<ResourceCompile Condition="'$(MileProjectType)'!='StaticLibrary'">
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectType)'!='DynamicLibrary'">_MILE_PROJECT_MANIFEST_ID=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectType)'=='DynamicLibrary'">_MILE_PROJECT_MANIFEST_ID=2;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PreprocessorDefinitions Condition="'$(MileProjectManifestFile)'!=''">_MILE_PROJECT_MANIFEST_FILE=$([System.String]::Copy('$(MileProjectManifestFile)').Replace('\','\\'));%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>$(ProjectDir);$(MSBuildThisFileDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ResourceCompile>
|
||||
</ItemDefinitionGroup>
|
||||
</Project>
|
||||
26
LVGL.Simulator/Mile.Project/Mile.Project.targets
Normal file
26
LVGL.Simulator/Mile.Project/Mile.Project.targets
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
PROJECT: Mouri Internal Library Essentials
|
||||
FILE: Mile.Project.targets
|
||||
PURPOSE: Definition for Visual Studio C++ Project
|
||||
|
||||
LICENSE: The MIT License
|
||||
|
||||
DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!--
|
||||
Only do this for MSBuild versions below 16.0 as it is since done
|
||||
automatically, see https://github.com/microsoft/msbuild/pull/3605.
|
||||
-->
|
||||
<MSBuildAllProjects Condition="'$(MSBuildToolsVersion)' <= '15'">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
<Target Name="MileProjectBuildManifestResources" BeforeTargets="BeforeResourceCompile">
|
||||
<ItemGroup Condition="'$(MileProjectType)'!='StaticLibrary'">
|
||||
<ResourceCompile Condition="'$(MileProjectManifestFile)'!=''" Include="$(MSBuildThisFileDirectory)Mile.Project.Manifest.rc" />
|
||||
<ResourceCompile Condition="Exists('$(ProjectDir)Mile.Project.Properties.h')" Include="$(MSBuildThisFileDirectory)Mile.Project.Version.rc" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user