2018-05-13 12:26:27 +08:00
|
|
|
project(eventpptest)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
|
|
|
|
set(THIRDPARTY_PATH ../../thirdparty)
|
|
|
|
|
|
|
|
include_directories(../include)
|
|
|
|
|
2019-05-28 18:54:04 +08:00
|
|
|
if(MSVC)
|
|
|
|
add_definitions(/W4)
|
|
|
|
else()
|
2019-12-27 21:45:30 +08:00
|
|
|
add_definitions(-Wall -Wextra -Wpedantic)
|
2019-05-28 18:54:04 +08:00
|
|
|
endif()
|
|
|
|
|
2020-07-09 09:06:41 +02:00
|
|
|
enable_testing()
|
2020-12-04 19:45:43 +08:00
|
|
|
|
|
|
|
add_subdirectory(tutorial)
|
2018-08-05 12:46:36 +08:00
|
|
|
add_subdirectory(unittest)
|
|
|
|
add_subdirectory(benchmark)
|
2018-05-13 12:26:27 +08:00
|
|
|
|