浏览代码

build: start adding support for additional architectures

main
Sam Hocevar 1年前
父节点
当前提交
0aa788ae59
共有 3 个文件被更改,包括 35 次插入8 次删除
  1. +5
    -8
      build/msbuild/config.props
  2. +24
    -0
      lolengine.config
  3. +6
    -0
      lolengine.props

+ 5
- 8
build/msbuild/config.props 查看文件

@@ -4,14 +4,14 @@
<!-- <!--
- Default settings for Debug configurations - Default settings for Debug configurations
--> -->
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup> </PropertyGroup>


<!-- <!--
- Default settings for Release configurations - Default settings for Release configurations
--> -->
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization> <WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup> </PropertyGroup>
@@ -19,7 +19,7 @@
<!-- <!--
- Default settings for any configuration - Default settings for any configuration
--> -->
<PropertyGroup Label="Configuration">
<PropertyGroup>
<CharacterSet>MultiByte</CharacterSet> <CharacterSet>MultiByte</CharacterSet>
<UseOfMfc>false</UseOfMfc> <UseOfMfc>false</UseOfMfc>
<ExceptionHandling>false</ExceptionHandling> <ExceptionHandling>false</ExceptionHandling>
@@ -27,12 +27,9 @@
</PropertyGroup> </PropertyGroup>


<!-- <!--
- Select the platform toolset depending on the platform
- Pick a platform toolset if the platform did not define one
--> -->
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
<PropertyGroup Condition="'$(PlatformToolset)'==''">
<PlatformToolset>v143</PlatformToolset> <PlatformToolset>v143</PlatformToolset>
</PropertyGroup> </PropertyGroup>




+ 24
- 0
lolengine.config 查看文件

@@ -1,6 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations"> <ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Gaming.Xbox.Scarlett.x64">
<Configuration>Debug</Configuration>
<Platform>Gaming.Xbox.Scarlett.x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Gaming.Xbox.XboxOne.x64">
<Configuration>Debug</Configuration>
<Platform>Gaming.Xbox.XboxOne.x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|NX64"> <ProjectConfiguration Include="Debug|NX64">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>NX64</Platform> <Platform>NX64</Platform>
@@ -21,6 +33,18 @@
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Gaming.Xbox.Scarlett.x64">
<Configuration>Release</Configuration>
<Platform>Gaming.Xbox.Scarlett.x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Gaming.Xbox.XboxOne.x64">
<Configuration>Release</Configuration>
<Platform>Gaming.Xbox.XboxOne.x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|NX64"> <ProjectConfiguration Include="Release|NX64">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>NX64</Platform> <Platform>NX64</Platform>


+ 6
- 0
lolengine.props 查看文件

@@ -152,6 +152,12 @@
<Error Condition="('$(Platform)'=='ORBIS' or '$(Platform)'=='Prospero') and !exists('$(LolEngineDir)lol-playstation/msbuild/config.props')" <Error Condition="('$(Platform)'=='ORBIS' or '$(Platform)'=='Prospero') and !exists('$(LolEngineDir)lol-playstation/msbuild/config.props')"
Text="platform '$(Platform)' selected, but '$(LolEngineDir)lol-playstation/msbuild/config.props' was not found" /> Text="platform '$(Platform)' selected, but '$(LolEngineDir)lol-playstation/msbuild/config.props' was not found" />


<Error Condition="('$(Platform)'=='Gaming.Xbox.XboxOne.x64' or '$(Platform)'=='Gaming.Xbox.Scarlett.x64') and !exists('$(LolEngineDir)lol-xbox')"
Text="platform '$(Platform)' selected, but '$(LolEngineDir)lol-xbox' was not found" />

<Error Condition="('$(Platform)'=='Gaming.Xbox.XboxOne.x64' or '$(Platform)'=='Gaming.Xbox.Scarlett.x64') and !exists('$(LolEngineDir)lol-xbox/msbuild/config.props')"
Text="platform '$(Platform)' selected, but '$(LolEngineDir)lol-xbox/msbuild/config.props' was not found" />

</Target> </Target>


</Project> </Project>

正在加载...
取消
保存