ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is not really a ROS question, but a CMake one.

In any case: you cannot compile a C++ header. Only source files.

You could #include your header in a dummy source file though. Then add a target compiling your dummy .cpp file.