mirror of https://github.com/libp2p/cpp-libp2p.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
218 B
18 lines
218 B
5 years ago
|
# test
|
||
|
|
||
|
To add test, use:
|
||
|
|
||
|
```
|
||
|
# define binary
|
||
|
addtest(example1 part1.cpp)
|
||
|
# attach more sources
|
||
|
addtest_part(example1 part2.cpp)
|
||
|
```
|
||
|
|
||
|
OR
|
||
|
|
||
|
```
|
||
|
# define all sources in one test
|
||
|
addtest(example2 part1.cpp part2.cpp)
|
||
|
```
|