Skip to content

Allow building official TianoCore EDK2 with Visual Studio 2017

License

Notifications You must be signed in to change notification settings

magnified103/VisualEDK2

Repository files navigation

VisualEDK2

Allow building official TianoCore EDK2 with Visual Studio 2017. Include QEMU + OVMF virtual machine for testing.

How to build

  • Download (or clone) this repo and submodules
  • Open the *.sln file
  • Build / Build Solution
  • Press F5 to debug (choose StartUp project you want)

How to make an EFI project

  • Make a Makefile project
  • Apply GlobalMacros.props to the project
  • Make a new Property Sheet and add user macros PROJECT_FILES, BUILD_TARGET, TARGET_ARCH,...
  • Make an INF for the project and link it to MdePkg, MdeModulePkg,... or make a custom platform one. This is official tutorial from TianoCore
  • Build / Build Solution
  • If you want to run it on QEMU just copy Debugging configuration from Shell project, and modify it as you want (the 1st agrument if the path to output EFI, and the second is PLATFORM_ARCH

Credit

About

Allow building official TianoCore EDK2 with Visual Studio 2017

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages