File: CMakeLists.txt

package info (click to toggle)
libthread-pool 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 132 kB
  • sloc: cpp: 180; sh: 14; makefile: 10
file content (10 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
cmake_minimum_required(VERSION 3.2)
project(thread_pool_test)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(thread_pool_test thread_pool_test.cpp)
add_subdirectory(/usr/src/googletest .. EXCLUDE_FROM_ALL)
target_link_libraries(thread_pool_test gtest_main)