mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
7cf4465168
Now it is possible to schedule events from different threads.
23 lines
485 B
CMake
23 lines
485 B
CMake
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
|
|
|
|
# Layout of project is inspired by: https://youtu.be/6sWec7b0JIc?t=20m50s
|
|
# This top level CMakeLists should be used for development
|
|
|
|
project(EventBusDev)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
add_subdirectory(lib/)
|
|
|
|
enable_testing()
|
|
add_subdirectory(test/)
|
|
add_subdirectory(sample/)
|
|
add_subdirectory(performance/)
|
|
|
|
target_compile_options(EventBus PUBLIC
|
|
-Wall -pedantic
|
|
-Wnon-virtual-dtor
|
|
-Werror
|
|
-Wno-error=deprecated-declarations
|
|
)
|