1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/tools) 3add_library(rsym_common STATIC rsym_common.c) 4target_link_libraries(rsym_common PRIVATE host_includes) 5 6if(ARCH STREQUAL "i386") 7 add_host_tool(rsym rsym.c) 8elseif(ARCH STREQUAL "amd64") 9 add_host_tool(rsym rsym64.c) 10elseif(ARCH STREQUAL "arm") 11 add_executable(rsym rsym64.c) 12elseif(ARCH STREQUAL "arm64") 13 add_executable(rsym rsym64.c) 14endif() 15 16target_link_libraries(rsym PRIVATE host_includes rsym_common dbghelphost unicode) 17add_host_tool(raddr2line raddr2line.c) 18target_link_libraries(raddr2line PRIVATE host_includes rsym_common) 19