mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
226 B
CMake
7 lines
226 B
CMake
5 years ago
|
function(add_log_tag target)
|
||
|
get_target_property(TARGET_SRCS ${target} SOURCES)
|
||
|
foreach(F ${TARGET_SRCS})
|
||
|
set_source_files_properties(${F} PROPERTIES COMPILE_FLAGS -DLOG_TAG=\\\"${F}\\\")
|
||
|
endforeach(F)
|
||
|
endfunction()
|