Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ endif()
#===============================================================================

option(
BEMAN_EXECUTION_ENABLE_TESTING
"Enable building tests and test infrastructure. Values: { ON, OFF }."
BEMAN_EXECUTION_BUILD_TESTS
"Enable building tests and test infrastructure. Default: ${PROJECT_IS_TOP_LEVEL}. Values: { ON, OFF }."
${PROJECT_IS_TOP_LEVEL}
)

Expand Down Expand Up @@ -123,9 +123,8 @@ beman_install_library(${BEMAN_EXECUTION_TARGET_PREFIX} TARGETS ${BEMAN_EXECUTION
)
#===============================================================================

enable_testing()

if(BEMAN_EXECUTION_ENABLE_TESTING)
if(BEMAN_EXECUTION_BUILD_TESTS)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

enable_testing()
add_subdirectory(tests/beman/execution)
endif()

Expand Down
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,21 @@ There are plenty of things which need to be done. See the
for some ideas how to contribute. The [resources page](https://github.com/bemanproject/execution/blob/main/docs/resources.md)
contains some links for general information about the sender/receivers and `std::execution`.

## Build
## Dependencies

## Preconditions
### Build Environment

- cmake v3.30 or newer
- ninja v1.13.0 or newer
- A compiler that supports at least C++23
This project requires at least the following to build:

* A C++ compiler that conforms to the C++23 standard or greater
* CMake 3.30 or later
* (Test Only) GoogleTest

You can disable building tests by setting CMake option `BEMAN_EXECUTION_BUILD_TESTS` to
`OFF` when configuring the project.

You can disable building examples by setting CMake option `BEMAN_EXECUTION_BUILD_EXAMPLES` to
`OFF` when configuring the project.


| Library | Linux | MacOS | Windows |
Expand Down
Loading