2014-10-17 23:28:29 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/tools)
|
2019-11-15 13:07:46 +00:00
|
|
|
add_library(rsym_common STATIC rsym_common.c)
|
|
|
|
target_link_libraries(rsym_common PRIVATE host_includes)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-08-27 18:58:27 +00:00
|
|
|
if(ARCH STREQUAL "i386")
|
2015-09-06 16:44:30 +00:00
|
|
|
add_host_tool(rsym rsym.c)
|
2012-08-27 18:58:27 +00:00
|
|
|
elseif(ARCH STREQUAL "amd64")
|
2015-09-06 16:44:30 +00:00
|
|
|
add_host_tool(rsym rsym64.c)
|
2015-06-15 11:40:33 +00:00
|
|
|
elseif(ARCH STREQUAL "arm")
|
|
|
|
add_executable(rsym rsym64.c)
|
2011-10-08 16:47:57 +00:00
|
|
|
endif()
|
2014-10-17 23:28:29 +00:00
|
|
|
|
2020-09-11 17:05:02 +00:00
|
|
|
target_link_libraries(rsym PRIVATE host_includes rsym_common dbghelphost unicode)
|
2019-11-15 13:07:46 +00:00
|
|
|
add_host_tool(raddr2line raddr2line.c)
|
|
|
|
target_link_libraries(raddr2line PRIVATE host_includes rsym_common)
|