HomePhabricator

[CMAKE] Add the check-symbols target

Description

[CMAKE] Add the check-symbols target

Summary:
This target runs the symbol-check.py scripts on the executables.
This is the equivalent of the autotools check-symbols rule.

Test Plan:
Build the depends subsystem for linux 64, then:

mkdir buildcmake && cd buildcmake
cmake -GNinja .. \
  -DENABLE_GLIBC_BACK_COMPAT=ON \
  -DENABLE_STATIC_LIBSTDCXX=ON \
  -DENABLE_REDUCE_EXPORTS=ON \
  -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Linux64.cmake
ninja check-symbols

If should be successful.

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
FabienAuthored on Sep 20 2019, 16:24
nakihitoPushed on Sep 25 2019, 21:53
Reviewer
Restricted Project
Differential Revision
D4136: [CMAKE] Add the check-symbols target
Parents
rSTAGINGb77978dd2b65: Move cs_main locking annotations from .cpp to .h
Branches
Unknown
Tags
Unknown