mirror of
https://github.com/wqking/eventpp.git
synced 2024-12-28 09:08:17 +08:00
20 lines
294 B
CMake
20 lines
294 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)
|
|
endif()
|
|
|
|
add_subdirectory(unittest)
|
|
add_subdirectory(benchmark)
|
|
|