Skip to content

Commit 9317b9c

Browse files
committed
upgrade to Visual Studio 2019
* Also update gnu-efi to latest
1 parent 1203f8b commit 9317b9c

4 files changed

Lines changed: 29 additions & 30 deletions

File tree

.vs/msvc/gnu-efi.vcxproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<PropertyGroup Label="Globals">
3838
<ProjectGuid>{3135D563-9596-4584-9ED6-616ADEC52974}</ProjectGuid>
3939
<RootNamespace>gnuefi</RootNamespace>
40-
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
40+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
4141
</PropertyGroup>
4242
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
4343
<PropertyGroup>
@@ -46,55 +46,55 @@
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4747
<ConfigurationType>StaticLibrary</ConfigurationType>
4848
<UseDebugLibraries>true</UseDebugLibraries>
49-
<PlatformToolset>v141</PlatformToolset>
49+
<PlatformToolset>v142</PlatformToolset>
5050
<CharacterSet>Unicode</CharacterSet>
5151
</PropertyGroup>
5252
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
5353
<ConfigurationType>StaticLibrary</ConfigurationType>
5454
<UseDebugLibraries>true</UseDebugLibraries>
55-
<PlatformToolset>v141</PlatformToolset>
55+
<PlatformToolset>v142</PlatformToolset>
5656
<CharacterSet>Unicode</CharacterSet>
5757
</PropertyGroup>
5858
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
5959
<ConfigurationType>StaticLibrary</ConfigurationType>
6060
<UseDebugLibraries>true</UseDebugLibraries>
61-
<PlatformToolset>v141</PlatformToolset>
61+
<PlatformToolset>v142</PlatformToolset>
6262
<CharacterSet>Unicode</CharacterSet>
6363
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
6464
</PropertyGroup>
6565
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
6666
<ConfigurationType>StaticLibrary</ConfigurationType>
6767
<UseDebugLibraries>true</UseDebugLibraries>
68-
<PlatformToolset>v141</PlatformToolset>
68+
<PlatformToolset>v142</PlatformToolset>
6969
<CharacterSet>Unicode</CharacterSet>
7070
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
7171
</PropertyGroup>
7272
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
7373
<ConfigurationType>StaticLibrary</ConfigurationType>
7474
<UseDebugLibraries>false</UseDebugLibraries>
75-
<PlatformToolset>v141</PlatformToolset>
75+
<PlatformToolset>v142</PlatformToolset>
7676
<WholeProgramOptimization>true</WholeProgramOptimization>
7777
<CharacterSet>Unicode</CharacterSet>
7878
</PropertyGroup>
7979
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
8080
<ConfigurationType>StaticLibrary</ConfigurationType>
8181
<UseDebugLibraries>false</UseDebugLibraries>
82-
<PlatformToolset>v141</PlatformToolset>
82+
<PlatformToolset>v142</PlatformToolset>
8383
<WholeProgramOptimization>true</WholeProgramOptimization>
8484
<CharacterSet>Unicode</CharacterSet>
8585
</PropertyGroup>
8686
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
8787
<ConfigurationType>StaticLibrary</ConfigurationType>
8888
<UseDebugLibraries>false</UseDebugLibraries>
89-
<PlatformToolset>v141</PlatformToolset>
89+
<PlatformToolset>v142</PlatformToolset>
9090
<WholeProgramOptimization>true</WholeProgramOptimization>
9191
<CharacterSet>Unicode</CharacterSet>
9292
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
9393
</PropertyGroup>
9494
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
9595
<ConfigurationType>StaticLibrary</ConfigurationType>
9696
<UseDebugLibraries>false</UseDebugLibraries>
97-
<PlatformToolset>v141</PlatformToolset>
97+
<PlatformToolset>v142</PlatformToolset>
9898
<WholeProgramOptimization>true</WholeProgramOptimization>
9999
<CharacterSet>Unicode</CharacterSet>
100100
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>

.vs/msvc/uefi-simple.vcxproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<PropertyGroup Label="Globals">
3838
<ProjectGuid>{DFA0BA98-D0BA-4176-9A34-B5BA6355B1DE}</ProjectGuid>
3939
<RootNamespace>uefi-simple</RootNamespace>
40-
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
40+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
4141
</PropertyGroup>
4242
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
4343
<PropertyGroup>
@@ -46,52 +46,52 @@
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4747
<ConfigurationType>Application</ConfigurationType>
4848
<UseDebugLibraries>true</UseDebugLibraries>
49-
<PlatformToolset>v141</PlatformToolset>
49+
<PlatformToolset>v142</PlatformToolset>
5050
<CharacterSet>Unicode</CharacterSet>
5151
</PropertyGroup>
5252
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
5353
<ConfigurationType>Application</ConfigurationType>
5454
<UseDebugLibraries>true</UseDebugLibraries>
55-
<PlatformToolset>v141</PlatformToolset>
55+
<PlatformToolset>v142</PlatformToolset>
5656
<CharacterSet>Unicode</CharacterSet>
5757
</PropertyGroup>
5858
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
5959
<ConfigurationType>Application</ConfigurationType>
6060
<UseDebugLibraries>true</UseDebugLibraries>
61-
<PlatformToolset>v141</PlatformToolset>
61+
<PlatformToolset>v142</PlatformToolset>
6262
<CharacterSet>Unicode</CharacterSet>
6363
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
6464
</PropertyGroup>
6565
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
6666
<ConfigurationType>Application</ConfigurationType>
6767
<UseDebugLibraries>true</UseDebugLibraries>
68-
<PlatformToolset>v141</PlatformToolset>
68+
<PlatformToolset>v142</PlatformToolset>
6969
<CharacterSet>Unicode</CharacterSet>
7070
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
7171
</PropertyGroup>
7272
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
7373
<ConfigurationType>Application</ConfigurationType>
7474
<UseDebugLibraries>false</UseDebugLibraries>
75-
<PlatformToolset>v141</PlatformToolset>
75+
<PlatformToolset>v142</PlatformToolset>
7676
<CharacterSet>Unicode</CharacterSet>
7777
</PropertyGroup>
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
7979
<ConfigurationType>Application</ConfigurationType>
8080
<UseDebugLibraries>false</UseDebugLibraries>
81-
<PlatformToolset>v141</PlatformToolset>
81+
<PlatformToolset>v142</PlatformToolset>
8282
<CharacterSet>Unicode</CharacterSet>
8383
</PropertyGroup>
8484
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
8585
<ConfigurationType>Application</ConfigurationType>
8686
<UseDebugLibraries>false</UseDebugLibraries>
87-
<PlatformToolset>v141</PlatformToolset>
87+
<PlatformToolset>v142</PlatformToolset>
8888
<CharacterSet>Unicode</CharacterSet>
8989
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
9090
</PropertyGroup>
9191
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
9292
<ConfigurationType>Application</ConfigurationType>
9393
<UseDebugLibraries>false</UseDebugLibraries>
94-
<PlatformToolset>v141</PlatformToolset>
94+
<PlatformToolset>v142</PlatformToolset>
9595
<CharacterSet>Unicode</CharacterSet>
9696
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
9797
</PropertyGroup>

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ UEFI:SIMPLE - EFI development made easy
44
A simple UEFI "Hello World!" style application that can:
55
* be compiled on Windows or Linux, using Visual Studio 2017, MinGW or gcc.
66
* be compiled for x86_32, x86_64, ARM or ARM64/AARCH64 targets
7-
* be tested on the fly, through a [QEMU](http://www.qemu.org)+[OVMF](http://tianocore.github.io/ovmf/)
8-
UEFI virtual machine.
7+
* be tested on the fly, through a [QEMU](https://www.qemu.org/) +
8+
[OVMF](https://github.com/tianocore/tianocore.github.io/wiki/OVMF) or
9+
[QEMU_EFI]http://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/)
10+
virtual machine.
911

1012
## Prerequisites
1113

12-
* [Visual Studio 2017](https://www.visualstudio.com/vs/community/) or gcc/make
14+
* [Visual Studio 2019](https://www.visualstudio.com/vs/community/) or gcc/make
1315
* [QEMU](http://www.qemu.org) __v2.7 or later__
1416
(NB: You can find QEMU Windows binaries [here](https://qemu.weilnetz.de/w64/))
1517
* git
@@ -44,14 +46,11 @@ You can also add `qemu` as your `make` target to run the application under QEMU,
4446
in which case a relevant UEFI firmware (OVMF for x86 or QEMU_EFI for Arm) will
4547
be automatically downloaded to run your application against it.
4648

47-
## Visual Studio 2017 and ARM/ARM64 support
49+
## Visual Studio 2019 and ARM/ARM64 support
4850

4951
Please be mindful that, to enable ARM or ARM64 compilation support in Visual Studio
50-
2017, you __MUST__ go to the _Individual components_ screen in the setup application
51-
and select the ARM/ARM64 compilers and libraries there, as they do __NOT__ appear in
52-
the default _Workloads_ screen:
52+
2019, you __MUST__ go to the _Individual components_ screen in the setup application
53+
and select the ARM/ARM64 build tools there, as they do __NOT__ appear in the default
54+
_Workloads_ screen:
5355

54-
![VS2017 Individual Components](http://files.akeo.ie/pics/VS2017_Individual_Components2.png)
55-
56-
You also need to ensure that you have Windows SDK 10.0.14393.0 or later installed,
57-
as this is the minimum version with support for ARM64.
56+
![VS2019 Individual Components](https://files.akeo.ie/pics/VS2019_Individual_Components.png)

gnu-efi

Submodule gnu-efi updated from 5bb5032 to 3e4d5c7

0 commit comments

Comments
 (0)