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

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.

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.

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.

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.