HomePhabricator

clib: simplify include paths in C extensions

Authored by simpkins.

Description

clib: simplify include paths in C extensions

Summary:
Convert the C and C++ files in cdatapack, clib, cstore, and ctreemanifest
to always include files from the root of fb-hgext. This simplifies the build
process by no long requiring a variety of separate include directories to be
specified on the compiler command line.

This will also make it easier to re-use these extensions in other projects
with different build systems.

This corresponds to the Facebook diff D5588676.

Test Plan: Confirmed that "make local" succeeds from a clean build.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Differential Revision: https://phab.mercurial-scm.org/D505

Details

Committed
simpkinsAug 25 2017, 7:46 PM
Reviewer
Restricted Project
Differential Revision
D505: clib: simplify include paths in C extensions
Parents
rFBHGX72fc021bb146: remotefilelog: keepset tuple bug fix
Branches
Unknown
Tags
Unknown