Update README

This commit is contained in:
Dawid Drozd 2019-03-15 15:50:37 +01:00
parent 42c690e774
commit 6fdf79795e

View File

@ -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
) )