mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-26 18:51:02 +08:00
685562c632
Inspired by: https://www.youtube.com/watch?v=6sWec7b0JIc
21 lines
457 B
CMake
21 lines
457 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)
|
|
|
|
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
|
|
)
|