mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
2204695f0a
Addendum to 6dfc13e4
. CORE-17518
18 lines
601 B
CMake
18 lines
601 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/tools)
|
|
add_library(rsym_common STATIC rsym_common.c)
|
|
target_link_libraries(rsym_common PRIVATE host_includes)
|
|
|
|
if(ARCH STREQUAL "i386")
|
|
add_host_tool(rsym rsym.c)
|
|
elseif(ARCH STREQUAL "amd64")
|
|
add_host_tool(rsym rsym64.c)
|
|
elseif(ARCH STREQUAL "arm")
|
|
add_executable(rsym rsym64.c)
|
|
elseif(ARCH STREQUAL "arm64")
|
|
add_executable(rsym rsym64.c)
|
|
endif()
|
|
|
|
target_link_libraries(rsym PRIVATE host_includes rsym_common dbghelphost unicode)
|
|
add_host_tool(raddr2line raddr2line.c)
|
|
target_link_libraries(raddr2line PRIVATE host_includes rsym_common)
|