mirror of
https://github.com/wqking/eventpp.git
synced 2024-12-27 16:41:11 +08:00
23 lines
350 B
CMake
23 lines
350 B
CMake
project(eventpptest)
|
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
set(THIRDPARTY_PATH ../../thirdparty)
|
|
|
|
include_directories(../include)
|
|
|
|
if(MSVC)
|
|
add_definitions(/W4)
|
|
else()
|
|
add_definitions(-Wall -Wextra -Wpedantic)
|
|
endif()
|
|
|
|
enable_testing()
|
|
|
|
add_subdirectory(tutorial)
|
|
add_subdirectory(unittest)
|
|
add_subdirectory(benchmark)
|
|
|