Skip to content

Commit

Permalink
[WIP][xtrace] Implement Buffer Support For Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousTommy committed Jul 20, 2023
1 parent f89d179 commit 204eabb
Show file tree
Hide file tree
Showing 12 changed files with 599 additions and 395 deletions.
3 changes: 2 additions & 1 deletion src/xtrace/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ set(xtrace_sources
malloc.c
lock.c
posix_spawn_args.c
log.cpp
)

if (TARGET_x86_64)
set(DYLIB_INSTALL_NAME "/usr/lib/darling/libxtrace.dylib")
add_darling_library(xtracelib SHARED ${xtrace_sources})
set_target_properties(xtracelib PROPERTIES OUTPUT_NAME "xtrace")
target_link_libraries(xtracelib system)
target_link_libraries(xtracelib system cxx)

install(TARGETS xtracelib DESTINATION libexec/darling/usr/lib/darling)
install(FILES xtrace DESTINATION libexec/darling/usr/bin
Expand Down
Loading

0 comments on commit 204eabb

Please sign in to comment.