You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
598 B
18 lines
598 B
enable_language(C)
|
|
|
|
set(CMAKE_GET_RUNTIME_DEPENDENCIES_PLATFORM "custom-platform")
|
|
set(CMAKE_GET_RUNTIME_DEPENDENCIES_TOOL "custom-platform-objdump")
|
|
set(CMAKE_GET_RUNTIME_DEPENDENCIES_COMMAND "path/to/custom-objdump")
|
|
set(CMAKE_OBJDUMP "custom-objdump")
|
|
|
|
install(CODE [[
|
|
message(FATAL_ERROR "
|
|
CMAKE_GET_RUNTIME_DEPENDENCIES_PLATFORM: ${CMAKE_GET_RUNTIME_DEPENDENCIES_PLATFORM}
|
|
CMAKE_GET_RUNTIME_DEPENDENCIES_TOOL: ${CMAKE_GET_RUNTIME_DEPENDENCIES_TOOL}
|
|
CMAKE_GET_RUNTIME_DEPENDENCIES_COMMAND: ${CMAKE_GET_RUNTIME_DEPENDENCIES_COMMAND}
|
|
CMAKE_OBJDUMP: ${CMAKE_OBJDUMP}
|
|
")
|
|
]]
|
|
COMPONENT dev
|
|
)
|