mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00

Dynamically check for sys/types.h and pid_t in wine config.h Use TARGET_xxx defines instead of _X86_ as this is undefined by GCC Add some sense in include directories management by using interface libraries
16 lines
546 B
CMake
16 lines
546 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)
|
|
endif()
|
|
|
|
target_link_libraries(rsym PRIVATE host_includes rsym_common dbghelphost zlibhost unicode)
|
|
add_host_tool(raddr2line raddr2line.c)
|
|
target_link_libraries(raddr2line PRIVATE host_includes rsym_common)
|