mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
9ae3382855
Now that these cases are in a dedicated test we can drop the `file-GET_RUNTIME_DEPENDENCIES-` prefix from their name.
18 lines
598 B
CMake
18 lines
598 B
CMake
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
|
|
)
|