Replies: 2 comments
-
I am not aware of c++ being a feature of the tianocore/edk2 build system. |
Beta Was this translation helpful? Give feedback.
-
C++ was probably intended at some point (since it's in the build rules) but is broken by default. If you add the ".cpp" extension here: https://github.com/tianocore/edk2/blob/master/BaseTools/Source/Python/AutoGen/GenMake.py#L1113 it should be able to compile .cpp files at least. Obviously you would still be unable to use STL features, but C with templates and classes is already better |
Beta Was this translation helpful? Give feedback.
-
We have C++ application and we want to enable that for UEFI as well.
How application can be compiled with EDK2?
Beta Was this translation helpful? Give feedback.
All reactions