ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
![]() | 1 | initial version |
I found the most easy way to change the compiler CMake uses, is by adding the following to the respective CMakeList.txt file:
set(CMAKE_CXX_COMPILER "clang")
set(CMAKE_C_COMPILER "clang")
![]() | 2 | No.2 Revision |
I found the most easy way to change the compiler CMake uses, is by adding the following to the respective CMakeList.txt file:
set(CMAKE_CXX_COMPILER "clang")
"clang++")
set(CMAKE_C_COMPILER "clang")