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}/= "
)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.