/usr/share/rosconsole/cmake/rosconsole-extras.cmake is in librosconsole-dev 1.13.5+ds1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # ros_comm/tools/rosconsole/cmake/rosconsole-extras.cmake
# force automatic escaping of preprocessor definitions
cmake_policy(PUSH)
cmake_policy(SET CMP0005 NEW)
# add ROS_PACKAGE_NAME define required by the named logging macros
add_definitions(-DROS_PACKAGE_NAME=\"${PROJECT_NAME}\")
if("log4cxx" STREQUAL "log4cxx")
# add ROSCONSOLE_BACKEND_LOG4CXX define required for backward compatible log4cxx symbols
add_definitions(-DROSCONSOLE_BACKEND_LOG4CXX)
endif()
cmake_policy(POP)
|