You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 702 B

2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
12345678910111213141516171819202122
  1. # Dora CMake Dataflow Example
  2. This example shows how to create dora operators and custom nodes in CMake build system.
  3. See also [c++-example](https://github.com/dora-rs/dora/blob/main/examples/c%2B%2B-dataflow/README.md) for the implementation details of operator and node.
  4. ## Compile and Run
  5. To try it out, you can use the [`run.rs`](./run.rs) binary. It performs all required build steps and then starts the dataflow. Use the following command to run it: `cargo run --example cmake-dataflow`.
  6. ## Out-of-tree compile
  7. This example also can be ran in a separate root directory.
  8. ```
  9. cd <path-to-cmake-dataflow>
  10. mkdir build
  11. cd build && cmake ..
  12. make install
  13. cd ..
  14. dora up
  15. dora start dataflow.yml
  16. ```