Skip to content

CMake objcopy architecture check #4

@jawdan-dev

Description

@jawdan-dev

# NOTE: the architecture might not line up here with what the user might want,,, whooops
set(PCK_LIB ${CMAKE_CURRENT_BINARY_DIR}/data.pck.o)
add_custom_command(
OUTPUT ${PCK_LIB}
DEPENDS ${PCK_SOURCE}
COMMAND ${CMAKE_OBJCOPY} ARGS
-I binary
-O elf64-x86-64
-B i386:x86-64
data.pck data.pck.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions