25 Commits

Author SHA1 Message Date
Bright Chen 93f6692ebb Refactor NULL with nullptr in tools (#3465) 2026-08-19 23:03:24 +08:00
darion-yaphet 0313102276 build(cxx): align all builds on a C++14 baseline (#3419)
* build(cxx): align all builds on a C++14 baseline

CMake, Make, tests, tools, and examples now require C++14 so every supported build path shares the same minimum language level. The compiler checks and user-facing documentation reflect that baseline.

* fix(test): keep cores scoped to the failing test

Clear prior cores before each test binary. A passing death test can leave a core that would otherwise be used to diagnose an unrelated later failure.

* revert src/butil/type_traits.h
2026-08-06 17:34:49 +08:00
darion-yaphet 82a6819297 build(cmake): Modernize target-scoped CMake configuration (#3377)
* build(cmake): keep modern CMake policy compatibility

Raise the minimum CMake version range to 3.16...3.28 so CMake 4.x no longer treats the project as relying on removed pre-3.5 policy compatibility. The range preserves a conservative 3.16 runtime floor while documenting policy validation through 3.28.

* build(cmake): modernize target-scoped CMake configuration

Move shared compile definitions, include paths, options, and link dependencies onto interface targets so top-level, src, tools, tests, and standalone examples consume consistent build settings without relying on global directory state.

Examples now share a small CMake helper, and the gtest download path is updated to configure with modern CMake while keeping downloaded gtest headers ahead of Homebrew's C++17-only installation.
2026-07-12 00:02:52 +08:00
Bright Chen 0608aa1e13 Fix gflag namespace of example and tools (#2879) 2025-01-19 21:28:55 +08:00
Xiaofeng Wang 44332907de Install and pack brpc tools (#2096) 2023-01-20 10:08:08 +08:00
wangweibing 87e18c6a15 Fix __const__ compile error in gcc version >= 11.2.0 2022-06-07 14:51:21 +08:00
jamesge 74310245bf make by config_brpc.sh shows commands by default, add -s to hide 2020-02-10 17:03:22 +08:00
jamesge 1ad1cc57ec remove authors 2020-01-03 13:00:41 +08:00
zhujiashun 2b96d08e94 insert_apache_header 2019-10-25 18:01:21 +08:00
Weibing Wang 078051f9bf Update license header to Apache 2019-06-20 14:22:57 +08:00
zyearn 802f8ca0a8 Make Makefile work as well in MacOs 2018-04-30 09:23:07 +08:00
Zhangyi Chen 32719a43f6 Renam libbrpc_static.a to libbrpc.a 2018-01-24 22:57:33 -08:00
zhujiashun 440945a044 make tools/ support cmake 2018-01-10 21:18:16 +08:00
gejun 472cf747c0 remove -Werror from makefiles of examples and tools 2017-10-26 11:56:27 +08:00
gejun 5b9bbfee3a add --nodebugsymbols to remove -g 2017-09-23 21:32:03 -07:00
gejun 6bf40ff119 fix compilation of tools and add them into tools/[make|clean]_all_examples 2017-09-20 21:13:34 +08:00
gejun 8ae7b0c898 Decide namespace of gflags in config_brpc.sh 2017-09-19 20:38:38 +08:00
gejun 80f9f2f160 Rename base to butil to avoid potential naming conflicts 2017-09-08 17:17:35 +08:00
gejun 023371e643 Change copyright to Baidu, Inc 2017-09-05 19:44:12 +08:00
gejun a4a7cdf531 Patch svn r35217 2017-09-04 16:23:26 +08:00
gejun 0630ae1e8a Patch svn r35206 & fix compilation of tools 2017-09-02 18:29:40 +08:00
gejun d729250af4 patch svn r34956
Change-Id: I6cde4f8c352144a3376cba0f92792462c755bda3
2017-08-02 18:11:35 +08:00
gejun ca2c262510 fix the bootstraping hang when program is linked with libunwind
Change-Id: I381c6cec791f6015d6e2183f05c7269bf814a184
2017-07-28 14:20:07 +08:00
gejun b279d07615 Replace COMAKEs with Makefile
Change-Id: I2f3f4ee769e4b682690b97cf7aa7030d2bcd2eea
2017-07-27 00:49:37 +08:00
gejun 7998155962 first working CI
Change-Id: I68c0cafba040debefd660c5213f21e6fc702a4a6
2017-07-25 23:02:28 +08:00