mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Update README
This commit is contained in:
parent
42c690e774
commit
6fdf79795e
@ -164,7 +164,8 @@ EventBus can be added as `ADD_SUBDIRECTORY` to your cmake file.
|
|||||||
Then simply link it via `TARGET_LINK_LIBRARIES`
|
Then simply link it via `TARGET_LINK_LIBRARIES`
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
ADD_SUBDIRECTORY(lib/EventBus)
|
# No tests/benchmarks target won't be added. Root CMakeLists is for development.
|
||||||
|
ADD_SUBDIRECTORY(path/to/EventBus/lib)
|
||||||
ADD_EXECUTABLE(MyExecutable
|
ADD_EXECUTABLE(MyExecutable
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user