2016-10-15 07:51:15 +08:00
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "MachineType.h"
|
2016-11-30 10:08:53 +08:00
|
|
|
#include "filesystem_fs.h"
|
2016-10-15 07:51:15 +08:00
|
|
|
|
2017-01-06 06:14:11 +08:00
|
|
|
namespace vcpkg::COFFFileReader
|
2016-10-15 07:51:15 +08:00
|
|
|
{
|
|
|
|
struct dll_info
|
|
|
|
{
|
|
|
|
MachineType machine_type;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct lib_info
|
|
|
|
{
|
|
|
|
std::vector<MachineType> machine_types;
|
|
|
|
};
|
|
|
|
|
2016-12-17 12:11:50 +08:00
|
|
|
dll_info read_dll(const fs::path& path);
|
2016-10-15 07:51:15 +08:00
|
|
|
|
2016-12-17 12:11:50 +08:00
|
|
|
lib_info read_lib(const fs::path& path);
|
2017-01-06 06:14:11 +08:00
|
|
|
}
|