1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-25 23:30:49 +08:00
eventpp/tests/CMakeLists.txt
2024-10-21 15:58:51 +08:00

23 lines
350 B
CMake

cmake_minimum_required(VERSION 3.2)
project(eventpptest)
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)