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:
René Bertin
2024-05-04 19:59:27 +02:00
committed by Brad King
parent 1df18d5e54
commit 598bc70474
7 changed files with 198 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#pragma once
#include <string>
#include <vector>
class cmExecutionStatus;
bool HandleReadMachoCommand(std::vector<std::string> const& args,
cmExecutionStatus& status);