envoyproxy/envoy

Allow custom values of CMAKE_BUILD_TYPE

Open

#17.106 aperta il 23 giu 2021

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/buildenhancementhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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.

Guida contributor