mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
file: Add undocumented READ_MACHO subcommand on macOS
Provide a way to parse the architectures of a Mach-O binary. Issue: #25952
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "cmELF.h"
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmFSPermissions.h"
|
||||
#include "cmFileCommand_ReadMacho.h"
|
||||
#include "cmFileCopier.h"
|
||||
#include "cmFileInstaller.h"
|
||||
#include "cmFileLockPool.h"
|
||||
@@ -3965,6 +3966,7 @@ bool cmFileCommand(std::vector<std::string> const& args,
|
||||
{ "RPATH_CHECK"_s, HandleRPathCheckCommand },
|
||||
{ "RPATH_REMOVE"_s, HandleRPathRemoveCommand },
|
||||
{ "READ_ELF"_s, HandleReadElfCommand },
|
||||
{ "READ_MACHO"_s, HandleReadMachoCommand },
|
||||
{ "REAL_PATH"_s, HandleRealPathCommand },
|
||||
{ "RELATIVE_PATH"_s, HandleRelativePathCommand },
|
||||
{ "TO_CMAKE_PATH"_s, HandleCMakePathCommand },
|
||||
|
||||
Reference in New Issue
Block a user