JoshuaWierenga / EfiSharp

An Attempt at building at least some of C# corelib for EFI applications. Inspired by https://github.com/MichalStrehovsky/zerosharp to see if this possible.
MIT License
18 stars 4 forks source link

Reusable build support #13

Closed JoshuaWierenga closed 3 years ago

JoshuaWierenga commented 3 years ago

As mentioned in #12, this would allow building projects without having to add about 100 lines to every csproj. I have already moved everything from EfiSharp.csproj into props and targets files that can be reused between projects. However, the build.bat file in the EfiSharp folder still has to be copied to each executable project with changes made to handle that.

Ideally, the build.bat file would be redone to handle taking in a folder containing an executable project, is supporting more arguments in batch going to make it too messy? Perhaps making a program to handle this would be better.

JoshuaWierenga commented 3 years ago

I thought initially it would make sense to have a single central Properties.txt file but decided against it since it is possible to build more than one project and have different VMs set up.