I think i agree on add_library should stay in each module CMakelists.txt folder, to be clearly visible.

For code formating there are tools to enforce, that's what I meant. Completely agree in the coherence/uniformity side though and we should do it of course.

file(GLOB MODULE_SOURCES "*.c")

add_library(${module_name} SHARED ${MODULE_SOURCES})
# More target definitions and requirements 

seems reasonable.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4081/2557115143@github.com>