Skip to content

Move test/src/ files one level up#48

Merged
ryanofsky merged 1 commit intobitcoin-core:masterfrom
ryanofsky:pr/nosrc
Mar 15, 2021
Merged

Move test/src/ files one level up#48
ryanofsky merged 1 commit intobitcoin-core:masterfrom
ryanofsky:pr/nosrc

Conversation

@ryanofsky
Copy link
Copy Markdown
Collaborator

This will make test/ directory structure consistent with new example/ directory. I want the example structure to be as simple as possible, and there's no need for tests or examples to have separate include/ and src/ subdirectories when they aren't installing public headers to /usr/include.

Also get rid of BUILD_INTERFACE cmake expressions in mptest target include directory list for the same reason. mptest isn't an installed library so it has no need for differentiated BUILD_INTERFACE and INSTALL_INTERFACE include lists (https://cmake.org/cmake/help/latest/command/target_include_directories.html).

This will make test/ directory structure consistent with example/.  I
want the example structure to be as simple as possible, and there's no
need for tests or examples to have separate include and src
subdirectories when unlike the main libmultiprocess library, they aren't
installing system headers to /usr/include and don't need a distinction
between internal source files and external header files.

Get rid of BUILD_INTERFACE filtered expressions in mptest include
directories for the same reason. mptest isn't an installed library so it
has no need for different BUILD_INTERFACE and INSTALL_INTERFACE include
paths
https://cmake.org/cmake/help/latest/command/target_include_directories.html.
@ryanofsky ryanofsky merged commit 17bfda9 into bitcoin-core:master Mar 15, 2021
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Jun 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant