ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
To compile your code in release you have to add this flag to the CMakeLists:
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall")
Finding out if the compiled files are in debug or release is a bit tricky, take a look at this question for starters.
2 | No.2 Revision |
To compile your code in release you have to add this flag to the CMakeLists:
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall")
set(CMAKE_BUILD_TYPE Release)
Finding out if the compiled files are in debug or release is a bit tricky, take a look at this question for starters.
3 | No.3 Revision |
To compile your code in release you have to add this flag to the CMakeLists:CMakeLists, taken from here:
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
message("${PROJECT_NAME}: You did not request a specific build type: Choosing 'Release' for maximum performance")
set(CMAKE_BUILD_TYPE Release)
endif()
Finding out if the compiled files are in debug or release is a bit tricky, take a look at this question for starters.
4 | No.4 Revision |
To compile your code in release you have to add this flag to the CMakeLists, taken from here:
if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
message("${PROJECT_NAME}: You did not request a specific build type: Choosing 'Release' for maximum performance")
set(CMAKE_BUILD_TYPE Release)
endif()
Finding out if the compiled files are in debug or release is a bit tricky, take a look at this question for starters.