mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
5c457ff486
* use std::source_location instead of godawful macros in logging * remove unused/absolutely haram af json logstream * fix bug in android logger where it doesn't respect eLogNone
8 lines
293 B
CMake
8 lines
293 B
CMake
function(add_log_tag target)
|
|
get_target_property(TARGET_SRCS ${target} SOURCES)
|
|
foreach(F ${TARGET_SRCS})
|
|
get_filename_component(fpath "${F}" ABSOLUTE)
|
|
set_property(SOURCE ${F} APPEND PROPERTY COMPILE_DEFINITIONS SOURCE_ROOT=\"${PROJECT_SOURCE_DIR}\")
|
|
endforeach()
|
|
endfunction()
|