envoyproxy/envoy

Allow custom values of CMAKE_BUILD_TYPE

Open

#17,106 建立於 2021年6月23日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)C++ (5,373 fork)batch import
area/buildenhancementhelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

Title: Allow custom values of CMAKE_BUILD_TYPE

Description: Currently Envoy's build system sets CMAKE_BUILD_TYPE to Bazel unconditionally (since #8280). Yet some CMake-based dependencies modify e.g. defines or CFLAGS for different build types. The conventional values are Debug, Release, RelWithDebInfo etc.

It would be nice for debug purposes (or for enabling optimizations) to override CMAKE_BUILD_TYPE in the envoy_cmake_external() rule.

貢獻者指南