Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
add notice that project will be built in Release mode
Browse files Browse the repository at this point in the history
catkin_lint (rightfully) complains about this block that might
change CMAKE_BUILD_TYPE. Even so, without this block most people using
the git checkout (building locally) would wonder why MoveIt! is so slow
as they didn't specify Release build. So this will stay in here.
Nevertheless I suppose it's a good idea to leave a notice on the changed
build type in the logs.
  • Loading branch information
v4hn committed Jul 5, 2016
1 parent acdcce8 commit 1413294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 2.8.3)
project(moveit_core)

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()

Expand Down

0 comments on commit 1413294

Please sign in to comment.