Python script for creating a .def file so C++/WinRT projects will export functions (ctors soon!).
- Scans the project folder for .idl files
- Reads each one and creates a list of functions
- Scans the .map file (which must exist!!!) for the decorated method names
- Adds the decorated method names to a .def file
- Saves the .def file over any that exists in the project folder
To create a .map file:
- turn on the switch in the Linker | All options
- enter a name for the .map file; .map is assumed