EventBus/CMakeLists.txt

21 lines
457 B
CMake
Raw Permalink Normal View History

cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
2017-08-04 23:50:35 +02:00
# Layout of project is inspired by: https://youtu.be/6sWec7b0JIc?t=20m50s
# This top level CMakeLists should be used for development
2017-09-01 16:15:31 +02:00
project(EventBusDev)
2017-08-04 23:50:35 +02:00
add_subdirectory(lib/)
2017-08-04 23:50:35 +02:00
enable_testing()
add_subdirectory(test/)
add_subdirectory(sample/)
add_subdirectory(performance/)
2017-08-04 23:50:35 +02:00
target_compile_options(EventBus PUBLIC
2017-09-10 13:05:36 +02:00
-Wall -pedantic
-Wnon-virtual-dtor
2017-08-06 17:13:00 +02:00
-Werror
2017-12-04 13:46:51 +01:00
-Wno-error=deprecated-declarations
)