Since this was for all modules and the main, it could be done in the
https://github.com/kamailio/kamailio/blob/master/cmake/defs.cmake
specifically in:
https://github.com/kamailio/kamailio/blob/ccadde0a6656cd78fc1b4f67ed40b5a6ac119d9e/cmake/defs.cmake#L334
All modules are then linked with this INTERFACE target.
or because it has some specific folder names in the option it may be easier in
the modules CMakeLists.txt. Just add this
`target_compile_definitions(${MODULE_NAME} PRIVATE|PUBLIC
"-ffile-prefix-map=${CMAKE_SOURCE_DIR}/src/modules/${MODULE_NAME}/= "
)
https://github.com/kamailio/kamailio/blob/ccadde0a6656cd78fc1b4f67ed40b5a6ac119d9e/src/modules/CMakeLists.txt#L76
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/28f4089efcc9c2ccf8c79fc9ecc509ae29d873e5#commitcomment-150201036
You are receiving this because you are subscribed to this thread.
Message ID:
<kamailio/kamailio/commit/28f4089efcc9c2ccf8c79fc9ecc509ae29d873e5/150201...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!