Quality Control - autowarefoundation/autoware_ai_documentation GitHub Wiki

Common Build Flags

autoware_build_flags controls the build flags of the entire components in Autoware. If a new package is added into Autoware, please use it as shown in the following examples.

package.xml

  <license>Apache 2</license>
  <buildtool_depend>catkin</buildtool_depend>
+ <buildtool_depend>autoware_build_flags</buildtool_depend>

CMakeLists.txt

find_package(
        catkin REQUIRED COMPONENTS
+       autoware_build_flags

There is no need to add -std=c++11 because autoware_build_flags inserts it automatically.

⚠️ **GitHub.com Fallback** ⚠️