PickNikRobotics / rviz_visual_tools

C++ API wrapper for displaying shapes and meshes in Rviz
771 stars 243 forks source link

Add ccache support #93

Closed davetcoleman closed 6 years ago

davetcoleman commented 6 years ago

Closes https://github.com/PickNikRobotics/rviz_visual_tools/issues/87

@ahoarau seems we need to do other things to enable ccache, like tweak the catkin command or... ?

ahoarau commented 6 years ago

Yup, this happens when ccache is configure as : export CXX="ccache g++-5" CC="ccache gcc-5" Which is how most people configure it afaik

davetcoleman commented 6 years ago

I'll assume you approve this, merging

VictorLamoine commented 6 years ago

For your information this is how ccache is supposed to be configured: https://askubuntu.com/questions/470545/how-do-i-set-up-ccache?answertab=active#tab-top

ahoarau commented 6 years ago

Thanks ! I remember reading somewhere than " masquerading " (symlinks) were not recommended. I'll try this though. I have the feeling that it will be seen by cmake as g++, which is much better than /usr/bin/ccache g++