Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

add_definitions() Package Exportation

Folks,

I have some variables I declared in my CMakeList in one package. For example, I create the constant:

add_definitions(-DTRAINED_DATA_PATH="${PROJECT_SOURCE_DIR}/trained_data")

How can I make it available to other ROS packages?