ROS precompile for C++ headers

asked 2017-01-10 14:02:55 -0500

rosnutsbolts gravatar image

Is there documentation (or a standard procedure) in ROS for using precompile C++ headers using CMakeLists.txt?

Not a cmake guru, but am familiar with compile speedup from using precompiled headers - especially for header dependent C++ files for libraries such as boost, eigen, etc.

Aware there are problems with precompiled headers on g++.

edit retag flag offensive close merge delete


I don't think ROS provides a standard way to do this, but the build system is cmake, so if there's a standard way to use precompiled headers in cmake, that will probably work.

ahendrix gravatar image ahendrix  ( 2017-01-10 15:07:01 -0500 )edit