HomePhabricator

[CMAKE] Make RelWithDebInfo the default CMake configuration

Description

[CMAKE] Make RelWithDebInfo the default CMake configuration

Summary:
This set RelWithDebInfo as the default build type for CMake. This
makes the default optimization flags identical to those from
configure.

Depends on D2651

Test Plan:

mkdir buildcmake && cd buildcmake
cmake -GNinja ..
ninja -v

Check that the -g -O2 flags are set in the compile commands for both
CC and CXX compile lines.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2643

Details

Provenance
FabienAuthored on Mar 4 2019, 20:28
FabienPushed on May 6 2019, 08:05
Reviewer
Restricted Project
Differential Revision
D2643: [CMAKE] Make RelWithDebInfo the default CMake configuration
Parents
rABC356dc81ee29e: [db] Migration for txindex data to new, separate database.
Branches
Unknown
Tags
Unknown